Restructure project directories

Follow the standard of all go projects
This commit is contained in:
Mikołaj Pęczkowski 2024-01-13 15:39:40 +01:00
parent 741f18efd1
commit 5445ce1ccf
20 changed files with 39 additions and 42 deletions

18
cmd/main.go Normal file
View file

@ -0,0 +1,18 @@
package main
import (
"gitlab.com/revalus/grm/internal/grm"
"os"
)
func main() {
app := grm.GitRepositoryManager{}
err := app.Parse(os.Args)
if err != nil {
os.Exit(2)
}
exitCode := app.Run(os.Stdout)
os.Exit(exitCode)
}