2015-09-15 20:39:57 +00:00
|
|
|
module CommandHelpers
|
|
|
|
# Returns the markdown text for the general options usage.
|
|
|
|
def general_options_usage()
|
|
|
|
<<EOF
|
2015-11-18 22:29:52 +00:00
|
|
|
* `-address=<addr>`: The address of the Nomad server. Overrides the `NOMAD_ADDR`
|
|
|
|
environment variable if set. Defaults to `http://127.0.0.1:4646`.
|
2016-06-07 18:33:55 +00:00
|
|
|
|
|
|
|
* `-region=<region>`: The region of the Nomad server to forward commands to.
|
|
|
|
Overrides the `NOMAD_REGION` environment variable if set. Defaults to the
|
|
|
|
Agent's local region.
|
2016-06-11 21:40:51 +00:00
|
|
|
|
|
|
|
* `-no-color`: Disables colored command output.
|
2015-09-15 20:39:57 +00:00
|
|
|
EOF
|
|
|
|
end
|
|
|
|
end
|