Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 459 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 459 Bytes

Useful utils for Go command-line programs

cli package

  • cli.Args struct: a better os.Args
  • cli.Register(), cli.Lookup(): register and lookup CLI subcommands

api package

  • api.Client struct: thin wrapper around net/http

pathname package

  • pathname.Pathname struct: Ruby Pathname-like handling of filesystem paths

utils package

  • utils.Env struct: a map-based approach to os.Environ()
  • utils.Set struct