Class: WavefrontCommandConfig

Inherits:
WavefrontCommandBase show all
Defined in:
lib/wavefront-cli/commands/config.rb

Overview

Define the Configure command

Instance Method Summary collapse

Methods inherited from WavefrontCommandBase

#acl_commands, #commands, #common_options, #docopt, #global_option_text, #global_options, #opt_row, #option_column_width, #options, #postscript, #sdk_class, #sdk_file, #tag_commands, #thing, #things, #word

Instance Method Details

#_commandsObject



12
13
14
15
16
17
18
19
20
21
# File 'lib/wavefront-cli/commands/config.rb', line 12

def _commands
  ['location',
   'profiles [-D] [-c file]',
   'show [-D] [-c file] [<profile>]',
   'setup [-D] [-c file] [<profile>]',
   'delete [-D] [-c file] <profile>',
   'envvars',
   "cluster #{CMN}",
   'about']
end

#_optionsObject



23
24
25
# File 'lib/wavefront-cli/commands/config.rb', line 23

def _options
  [common_options]
end

#descriptionObject



8
9
10
# File 'lib/wavefront-cli/commands/config.rb', line 8

def description
  'create and manage local configuration, and display debug info'
end