Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
/ cli Public archive

Building better command line interfaces for Caltech Library

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
license.html
Unknown
license.go
Notifications You must be signed in to change notification settings

caltechlibrary/cli

Repository files navigation

cli: building better command line interfaces

cli is a Golang package intended to encourage a more consistant command line user interface in programs written for Caltech Library using Go.

Features include:

  • Code generation for a command line tool
  • Integrated support for generating Markdown docs from a cli program
  • Integrated support for generating man pages from a cli program
  • Short/Long option (flag) support for both the command and verbs

Command line tools

Two command line tools come with the cli package.

  • cligenerate - will generate a skelton command line program
  • pkgassets - will take Markdown docs and create a go program file where each doc's name is the key and contents are the byte array value representing the docs