Class: WavefrontCommandIntegration
Overview
Define the cloud integration 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
19
20
21
22
23
|
# File 'lib/wavefront-cli/commands/integration.rb', line 10
def _commands
["list #{CMN} [-al] [-O fields] [-o offset] [-L limit]",
"describe #{CMN} <id>",
"install #{CMN} <id>",
"uninstall #{CMN} <id>",
"manifests #{CMN}",
"status #{CMN} <id>",
"statuses #{CMN}",
"alert install #{CMN} <id>",
"alert uninstall #{CMN} <id>",
"installed #{CMN}",
"manifests #{CMN}",
"search #{CMN} [-al] [-o offset] [-L limit] <condition>..."]
end
|
#_options ⇒ Object
25
26
27
28
29
30
31
32
33
|
# File 'lib/wavefront-cli/commands/integration.rb', line 25
def _options
[common_options,
'-l, --long list cloud integrations in detail',
'-a, --all list all cloud integrations',
'-o, --offset=n start from nth cloud integration',
'-O, --fields=F1,F2,... only show given fields',
'-L, --limit=COUNT number of cloud integrations to list',
'-f, --format=STRING output format']
end
|
#description ⇒ Object
6
7
8
|
# File 'lib/wavefront-cli/commands/integration.rb', line 6
def description
'view and manage Wavefront integrations'
end
|