Skip to content

Instantly share code, notes, and snippets.

@henvic
Created July 17, 2020 22:39
Show Gist options
  • Save henvic/6bd4edab200c06e4accb08c52231532f to your computer and use it in GitHub Desktop.
Save henvic/6bd4edab200c06e4accb08c52231532f to your computer and use it in GitHub Desktop.
market server example
$ ./market
Usage: market <command> [flags] [arguments]
Commands:
serve run the market server
check-config check and print configuration
users manage users
Flags:
-config (string) configuration path (default "market.ini")
-verbose show more information
-help show help message
Use "market help <command>" for more information about that command.
henvic at henvic in ~/projects/gocode/src/github.com/plifk/market/cmd/market (master●)
$ ./market serve -help
Usage: market serve [flags] [arguments]
Flags:
-config (string) configuration path (default "market.ini")
-verbose show more information
-help show help message
henvic at henvic in ~/projects/gocode/src/github.com/plifk/market/cmd/market (master●)
$ ./market users -help
Usage: market users <command> [flags] [arguments]
Commands:
new-admin create admin user
set-password set password for user
Flags:
-config (string) configuration path (default "market.ini")
-verbose show more information
-help show help message
Use "market help users <command>" for more information about that command.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment