Releases: caltechlibrary/cli
Code updates, CITATION updates
go1.16 support
Added support for go1.16 compile, Added experimental M1 compiled binaries.
Verbs
Merged the "Action" and "Verb" oriented commands. Changed Cli.AddParams() to Cli.SetParams() since you call it only once for all params. Added related Verb commands and processing so verbs can have independent options, parameter specifications, help.
Merged cli and pkgassets packages
This release's primary feature is merging the pkgassets package and cli as a sub-package of the cli package. It also includes experimental verb option support.
Added support for auto-generating man pages as well as Markdown docs
- Renamed (c *Cli) GenerateMarkdownDocs() to (c *Cli) GenerateMarkdown()
- Added (c *Cli) GenerateManPage()
- Updated cligenerator to reflect current working example for cli package
- Various small bug fixes
Initial Release
This is the initial release of cli package. It is used throughout the Go based projects at Caltech Library. It provides for command line user interface implementation in a common way. Supports both option oriented and action plus parameter oriented command line interfaces.