Class: WavefrontCommandSettings
Overview
Define the settings command.
Instance Method Summary
collapse
#acl_commands, #commands, #common_options, #docopt, #global_options, #opt_row, #option_column_width, #options, #postscript, #sdk_class, #sdk_file, #tag_commands, #word
Instance Method Details
#_commands ⇒ Object
10
11
12
13
14
15
|
# File 'lib/wavefront-cli/commands/settings.rb', line 10
def _commands
["list permissions #{CMN} [-l] [-O fields]",
"show preferences #{CMN} [-l] [-O fields]",
"update #{CMN} <key=value>...",
"default usergroups #{CMN} [-l] [-O fields]"]
end
|
#_options ⇒ Object
17
18
19
20
21
|
# File 'lib/wavefront-cli/commands/settings.rb', line 17
def _options
[common_options,
'-l, --long list derived metrics in detail',
'-O, --fields=F1,F2,... only show given fields']
end
|
#description ⇒ Object
6
7
8
|
# File 'lib/wavefront-cli/commands/settings.rb', line 6
def description
'view and manage system preferences'
end
|