go run . -h
Usage: go-cli-skeleton <command>
A minimal skeleton for building CLI apps
Flags:
-h, --help Show context-sensitive help.
-d, --debug Enable debug output
-j, --json-output Log in json format
Commands:
hello
default command
get
GET query to postman-echo and printing response
post
POST query to postman-echo and printing response
file read --path=STRING
Read a file
file write --path=STRING
Write a file
dir
List all files in a directory (and sub directories)
parse
GET query to postman-echo and parsing the response
version
Show version information
Run "go-cli-skeleton <command> --help" for more information on a command.