Files

26 lines
320 B
Go
Raw Permalink Normal View History

2020-12-31 11:34:52 +08:00
package main
import (
"fmt"
"log"
"os"
"github.com/urfave/cli/v2"
)
func main() {
app := &cli.App{
2021-01-04 16:02:13 +08:00
Name: "boom",
2020-12-31 11:34:52 +08:00
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)
}
2021-01-04 16:02:13 +08:00
}