in cli/app/app.go [130:165]
func appHelpTemplate() string {
return `NAME:
{{.Name}} - {{.Usage}}
USAGE:
{{.Name}} {{if .Flags}}[global options] {{end}}command{{if .Flags}} [command options]{{end}} [arguments...]
VERSION:
{{.Version}}{{if .Authors}}
AUTHOR:
{{.Authors}}{{end}}
SCOPES:
Many commands require a "scope" expression to indicate the target on which they operate. The scope expressions are
as follows (values in brackets are aliases for the scope):
- application APP-ID (app, a) Selects and application, e.g. "br app myapp"
- entity ENT-ID (ent, e) Selects an entity within an application scope, e.g. "br app myapp ent myserver"
- effector EFF-ID (eff, f) Selects an effector of an entity or application, e.g. "br a myapp e myserver eff xyz"
- config CONF-KEY (conf, con, c) Selects a configuration key of an entity e.g. "br a myapp e myserver config jmx.agent.mode"
- activity ACT-ID (act, v) Selects an activity of an entity e.g. "br a myapp e myserver act iHG7sq1"
COMMANDS:
Commands whose description begins with a "*" character are particularly experimental and likely to change in upcoming
releases. If not otherwise specified, "SCOPE" below means application or entity scope. If an entity scope is not
specified, the application entity is used as a default.
{{range .Commands}}{{.Name}}{{ "\t" }}{{.Description}}
{{end}}{{if .Flags}}
GLOBAL OPTIONS:
{{range .Flags}}{{.}}
{{end}}{{end}}
`
}