subcommands: Files

Command sample-simple

sample-simple - Sample app to demonstrate a very basic example usage of package subcommand.

It implements 2 commands, one using an argument, the other using a flag. Help pages are automatically generated. The test cases cannot use t.Parallel() due to the use of global variables; log.*, os.Stdout and os.Stderr.

Package Files


Package main imports 4 packages (graph). Updated 2016-12-06. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).