GitLab_MergeDevel2Default/main.go

33 lines
567 B
Go
Raw Normal View History

2021-04-28 18:10:55 +00:00
package main
import (
2021-05-22 11:08:27 +00:00
"os"
2021-05-22 10:43:21 +00:00
"code.obermui.de/6543/GitLab_MergeDevel2Default/merge"
2021-05-22 11:08:27 +00:00
"code.obermui.de/6543/GitLab_MergeDevel2Default/utils"
"github.com/urfave/cli/v2"
2021-04-28 18:10:55 +00:00
)
var (
Version = "dev"
)
2021-05-05 09:38:49 +00:00
func main() {
2021-05-22 11:08:27 +00:00
app := cli.NewApp()
app.Name = "vv-tool"
app.Usage = "VV command line tool to interact with Gitlab"
app.Description = "cli tool for VV to manage things"
app.Version = Version
app.Commands = []*cli.Command{
&merge.CmdMerge,
}
app.EnableBashCompletion = true
err := app.Run(os.Args)
if err != nil {
utils.Error(1, "Error: %v\n", err)
}
2021-04-28 18:10:55 +00:00
}