diff --git a/main.go b/main.go new file mode 100644 index 0000000..0aa3a1f --- /dev/null +++ b/main.go @@ -0,0 +1,25 @@ +package main + +import ( + "fmt" + "log" + "os" + + cli "github.com/urfave/cli/v2" +) + +func main() { + app := &cli.App{ + Name: "boom", + Usage: "make an explosive entrance", + Action: func(c *cli.Context) error { + fmt.Println("boom! I say!") + return nil + }, + } + + err := app.Run(os.Args) + if err != nil { + log.Fatal(err) + } +}