#goCLI
A simple and lightweight cli framework for go applications. Get your cli setup in seconds.
Add the dependency go get github.com/LucasCarioca/gocli
Your first cli
package main
import "github.com/LucasCarioca/gocli/cli"
func main() {
app := cli.NewApp(func() error {
fmt.Println("Hello world")
})
app.Run()
}
Build and run
go build main.go -o mycli
mycli
# Hello World