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, #opt_row, #option_column_width, #options, #postscript, #sdk_class, #sdk_file, #tag_commands, #word

Instance Method Details

#_commandsObject



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

def _commands
  ['location',
   'profiles [-D] [-c file]',
   'show [-D] [-c file] [<profile>]',
   'setup [-D] [-c file] [<profile>]',
   'delete [-D] [-c file] <profile>',
   'envvars',
   'about']
end

#_optionsObject



20
21
22
23
# File 'lib/wavefront-cli/commands/config.rb', line 20

def _options
  ['-c, --config=FILE    path to configuration file',
   '-D, --debug          enable debug mode']
end

#descriptionObject



6
7
8
# File 'lib/wavefront-cli/commands/config.rb', line 6

def description
  'create and manage local configuration'
end

#global_optionsObject



25
26
27
# File 'lib/wavefront-cli/commands/config.rb', line 25

def global_options
  []
end