GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - caltechlibrary/cli: Building better command line interfaces for Caltech Library

This repository was archived by the owner on Jan 11, 2023. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

158 Commits
158 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
cmd
cmd
 
 
css
css
 
 
docs
docs
 
 
examples
examples
 
 
pkgassets
pkgassets
 
 
.gitignore
.gitignore
 
 
CITATION.cff
CITATION.cff
 
 
INSTALL.md
INSTALL.md
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
RELEASES.md
RELEASES.md
 
 
TODO.md
TODO.md
 
 
cli.go
cli.go
 
 
cli_test.go
cli_test.go
 
 
codemeta.json
codemeta.json
 
 
copyright.md
copyright.md
 
 
depreciated.go-txt
depreciated.go-txt
 
 
env.go
env.go
 
 
env_test.go
env_test.go
 
 
errors.go
errors.go
 
 
fmttopics.go
fmttopics.go
 
 
generate.go
generate.go
 
 
go.mod
go.mod
 
 
index.html
index.html
 
 
install.html
install.html
 
 
license.go
license.go
 
 
license.html
license.html
 
 
manpage.go
manpage.go
 
 
markdown.go
markdown.go
 
 
mk-website.bash
mk-website.bash
 
 
nav.md
nav.md
 
 
page.tmpl
page.tmpl
 
 
publish.bash
publish.bash
 
 
usage.go
usage.go
 
 
verb.go
verb.go
 
 
verb_test.go
verb_test.go
 
 
version.go
version.go
 
 

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

About

Building better command line interfaces for Caltech Library

caltechlibrary.github.io/cli

Topics

assetsclicli-toolkitcode-generationgolang

Resources

Readme
Activity
Custom properties

Stars

3 stars

Watchers

4 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.