class WavefrontCommandSettings

Define the settings command.

Public Instance Methods

_commands() click to toggle source
# File lib/wavefront-cli/commands/settings.rb, line 12
def _commands
  ["list permissions #{CMN} [-l] [-O fields]",
   "show preferences #{CMN} [-l] [-O fields]",
   "set #{CMN} <key=value>...",
   "default usergroups #{CMN} [-l] [-O fields]"]
end
_options() click to toggle source
# File lib/wavefront-cli/commands/settings.rb, line 19
def _options
  [common_options,
   "-l, --long              list #{things} in detail",
   '-O, --fields=F1,F2,...  only show given fields']
end
thing() click to toggle source
# File lib/wavefront-cli/commands/settings.rb, line 8
def thing
  'system preference'
end