Restructure project directories
Follow the standard of all go projects
This commit is contained in:
parent
741f18efd1
commit
5445ce1ccf
20 changed files with 39 additions and 42 deletions
18
cmd/main.go
Normal file
18
cmd/main.go
Normal 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)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue