Trying out the bonzai monolith.
README.md to match your project. Make all your template changes before making your first commit.*
This command can be installed as a standalone program or composed into a Bonzai command tree.
Standalone
go install github.com/rwx-yxu/bonzai/cmd/bonzai@latest
Composed
package z
import (
Z "github.com/rwxrob/bonzai/z"
example "github.com/rwx-yxu/bonzai"
)
var Cmd = &Z.Cmd{
Name: `z`,
Commands: []*Z.Cmd{help.Cmd, example.Cmd, example.BazCmd},
}
To activate bash completion just use the complete -C
option from your
.bashrc
or command line. There is no messy sourcing required. All the
completion is done by the program itself.
complete -C bonzai bonzai
If you don't have bash or tab completion check use the shortcut commands instead.
All documentation (like manual pages) has been embedded into the source code of the application. See the source or run the program with help to access it.
- https://github.com/rwxrob/z - the one that started it all