Skip to content

tchap/gocli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About gocli

Build Status

gocli is yet another package to aid with parsing command line arguments.

Unlike many other libraries, it focuses mainly on support of subcommands. Define as many subcommands as you want, they are handled by using FlagSets recursively. Simple yet powerful enough for many scenarios.

The help output format is inspired among others by codegangsta's cli library.

Status

The API has been tagged with v1.0.0, please use gopkg.in to lock your dependencies.

Usage

import "gopkg.in/tchap/gocli.v2"

Documentation

GoDoc

Example

See app_test.go.

License

MIT, see the LICENSE file.

About

A tiny helper library to manage subcommands in your Go CLI application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages