Grouped commands help description

This commit is contained in:
Alex Dadgar
2018-03-21 14:04:54 -07:00
parent 148a9504e7
commit 6f0dbbb72b
15 changed files with 372 additions and 30 deletions

View File

@@ -12,11 +12,17 @@ type ACLCommand struct {
func (f *ACLCommand) Help() string {
helpText := `
Usage: nomad acl <subcommand> [options]
Usage: nomad acl <subcommand> [options] [args]
Interact with ACL policies and tokens.
This command groups subcommands for interacting with ACL policies and tokens.
Users can bootstrap Nomad's ACL system, create policies that restrict access,
and generate tokens from those policies.
Run nomad acl <subcommand> with no arguments for help on that subcommand.
Bootstrap ACLs:
$ nomad acl bootstrap
Please see the individual subcommand help for detailed usage information.
`
return strings.TrimSpace(helpText)
}