package
0.0.2
Repository: https://github.com/datawire/ocibuild.git
Documentation: pkg.go.dev

# Functions

FlagErrorFunc is a function to be passed to (*cobra.Command).SetFlagErrorFunc that establishes GNU-ish behavior for invalid flag usage.
GetTerminalWidth returns the width of the terminal that you should wrap text to.
OnlySubcommands is a cobra.PositionalArgs that is similar to cobra.NoArgs, but prints a better error message.
RunSubCommands is for use as a cobra.Command.RunE for commands that don't do anything themselves but have subcommands.
Wrap the string `s` to a maximum width `w`.
Wrap the string `s` to a maximum width `w` with leading indent `i`.

# Constants

No description provided by the author