At the moment, this is "work-in-progress" with Semantic Versions of 0.n.x
.
Although it can be reviewed and commented on,
the recommendation is not to use it yet.
go-cmdhelping
contains utility packages for working with
viper and
cobra
go-cmdhelping
is an opinionated use of
viper and
cobra.
Context variables are specified in a list of option.ContextVariable.
The []option.ContextVariable
list is processed by functions in the
cmdhelper package.
See main.go for an example of use.