This is example
. I have put it into a command branch for inclusion into my c Bonzai stateful command tree.
If you just want to try it out, grab the release binary with curl and put into your PATH:
curl -L https://github.com/tr00datp00nar/example/releases/latest/download/example-linux-amd64 -o ~/.local/bin/example
curl -L https://github.com/tr00datp00nar/example/releases/latest/download/example-darwin-amd64 -o ~/.local/bin/example
curl -L https://github.com/tr00datp00nar/example/releases/latest/download/example-darwin-arm64 -o ~/.local/bin/example
curl -L https://github.com/tr00datp00nar/example/releases/latest/download/example-windows-amd64 -o ~/.local/bin/example
Or with go
:
go install github.com/tr00datp00nar/example/cmd/example@latest
Composed
package c
import (
Z "github.com/rwxrob/bonzai/z"
"github.com/tr00datp00nar/example"
)
var Cmd = &Z.Cmd{
Name: 'c',
Commands: []*Z.Cmd{help.Cmd, example.Cmd},
}
To learn more about Bonzai stateful command trees: https://github.com/rwxrob/bonzai
To see my personal Bonzai stateful command tree: https://github.com/tr00datp00nar/c
To see the original Bonzai stateful command tree z: https://github.com/rwxrob/z