This command can be installed as a standalone program or composed into a Bonzai command tree.
Standalone
go install github.com/rwxrob/y2j/cmd/y2j@latest
Composed
package cmds
import (
Z "github.com/rwxrob/bonzai/z"
"github.com/rwxrob/y2j"
)
var Cmd = &Z.Cmd{
Name: `cmds`,
Commands: []*Z.Cmd{help.Cmd, y2j.Cmd},
}
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.
-
Nothing but maps.
It is extremely rare to encounter a YAML array in the wild. It is common, however, to have a map with a single array as it's value.