Skip to content
This repository has been archived by the owner. It is now read-only.
Demonstration for Command Line Interface
Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
README.md
dependency.png
main.go

README.md

cli-demo - Demonstration for Command Line Interface

Install

$ go get -v github.com/spiegel-im-spiegel/cli-demo

Usage

$ cli-demo -h
Long comment

Usage:
  cli-demo [flags]
  cli-demo [command]

Available Commands:
  help        Help about any command
  show        Short comment for show sub-command

Flags:
  -h, --help   help for cli-demo

Use "cli-demo [command] --help" for more information about a command.

$ cli-demo show -h
Long comment for show sub-command

Usage:
  cli-demo show [flags]

Flags:
  -b, --boolean         boolean option
  -h, --help            help for show
  -i, --integer int     integer option
  -s, --string string   string option

$ cli-demo show -i 123 -s 日本語 -b
Integer option value: 123
 String option value: 日本語
Boolean option value: true

Dependencies

$ dep status -dot | dot -Tpng -o dependency.png

Dependencies

You can’t perform that action at this time.