Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

coopernetes/bz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌳 Go Bonzai™ Composite Command Tree

TODO for me

Must be compatible with MacOS (M1) and Linux. Windows? Meh.

  • datetime with multiple formats
  • epoch to datetime (+ vice versa)
  • yaml to json (+ vice versa)
  • multiple yaml to json (+ vice versa)
  • create uuid
  • random hex string

GoDoc License

Install

This command can be installed as a standalone program or composed into a Bonzai command tree.

Standalone

go install github.com/coopernetes/bz/cmd/bz@latest

Composed

package z

import (
	Z "github.com/coopernetes/bonzai/z"
	example "github.com/coopernetes/bz"
)

var Cmd = &Z.Cmd{
	Name:     `z`,
	Commands: []*Z.Cmd{help.Cmd, example.Cmd, example.BazCmd},
}

Tab Completion

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 bz bz

If you don't have bash or tab completion check use the shortcut commands instead.

Embedded Documentation

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.

About

🌳 my personal Bonzai tree

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages