Class: WavefrontCommandProxy
Overview
Define the proxy 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
16
17
18
|
# File 'lib/wavefront-cli/commands/proxy.rb', line 10
def _commands
["list #{CMN} [-al] [-O fields] [-o offset] [-L limit]",
"describe #{CMN} <id>",
"delete #{CMN} <id>",
"undelete #{CMN} <id>",
"rename #{CMN} <id> <name>",
"search #{CMN} [-al] [-o offset] [-L limit] <condition>...",
"versions #{CMN}"]
end
|
#_options ⇒ Object
20
21
22
23
24
25
26
27
28
|
# File 'lib/wavefront-cli/commands/proxy.rb', line 20
def _options
[common_options,
'-l, --long list proxies in detail',
'-a, --all list all proxies',
'-o, --offset=n start from nth proxy',
'-O, --fields=F1,F2,... only show given fields',
'-f, --format=STRING output format',
'-L, --limit=COUNT number of proxies to list']
end
|
#description ⇒ Object
6
7
8
|
# File 'lib/wavefront-cli/commands/proxy.rb', line 6
def description
'view and manage Wavefront proxies'
end
|