Skip to content

senzing-garage/go-cmdhelping

Repository files navigation

go-cmdhelping

If you are beginning your journey with Senzing, please start with Senzing Quick Start guides.

You are in the Senzing Garage where projects are "tinkered" on. Although this GitHub repository may help you understand an approach to using Senzing, it's not considered to be "production ready" and is not considered to be part of the Senzing product. Heck, it may not even be appropriate for your application of Senzing!

⚠️ WARNING: go-cmdhelping is still in development ⚠️ _

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.

Synopsis

go-cmdhelping contains utility packages for working with viper and cobra.

Go Reference Badge Go Report Card Badge License Badge go-test-linux.yaml Badge go-test-darwin.yaml Badge go-test-windows.yaml Badge

golangci-lint.yaml Badge

Overview

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.

Use

See main.go for an example of use.

References

  1. API documentation
  2. Development
  3. Errors
  4. Examples