Skip to content

Instantly share code, notes, and snippets.

@henvic
Created Jul 17, 2020
Embed
What would you like to do?
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