class WavefrontCommandUsage
Define the usage command.
Public Instance Methods
_commands()
click to toggle source
# File lib/wavefront-cli/commands/usage.rb, line 12 def _commands ["export csv #{CMN} [-s time] [-e time] "] end
_options()
click to toggle source
# File lib/wavefront-cli/commands/usage.rb, line 16 def _options [common_options, "-s, --start=TIME time at which #{thing} begins " \ '(defaults to 24h ago)', "-e, --end=TIME time at which #{thing} ends"] end
thing()
click to toggle source
# File lib/wavefront-cli/commands/usage.rb, line 8 def thing 'usage report' end