sample-simple

command
v1.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL