1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
package main import ( "os" "github.com/urfave/cli/v2" ) func main() { app := cli.NewApp() app.Name = "buckit" app.Commands = []*cli.Command{ addCmd, listCmd, fetchCmd, infoCmd, deleteCmd, undeleteCmd, } app.Run(os.Args) }