Class: WavefrontCommandDashboard
- Inherits:
-
WavefrontCommandBase
- Object
- WavefrontCommandBase
- WavefrontCommandDashboard
- Defined in:
- lib/wavefront-cli/commands/dashboard.rb
Overview
Define the dashboard command.
Instance Method Summary collapse
Methods inherited from WavefrontCommandBase
#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 24 25 |
# File 'lib/wavefront-cli/commands/dashboard.rb', line 10 def _commands ["list #{CMN} [-alN] [-O fields] [-o offset] [-L limit]", "describe #{CMN} [-v version] <id>", "import #{CMN} <file>", "update #{CMN} <key=value> <id>", "delete #{CMN} <id>", "undelete #{CMN} <id>", "history #{CMN} [-o offset] [-L limit] <id>", "search #{CMN} [-al] [-o offset] [-L limit] <condition>...", "queries #{CMN} [-b] [<id>]", "favs #{CMN}", "fav #{CMN} <id>", "unfav #{CMN} <id>", acl_commands, tag_commands] end |
#_options ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/wavefront-cli/commands/dashboard.rb', line 27 def [, '-l, --long list dashboards in detail', '-a, --all list all dashboards', '-o, --offset=n start list from nth dashboard or revision', '-O, --fields=F1,F2,... only show given fields', '-L, --limit=COUNT number of dashboards or revisions to list', '-v, --version=INTEGER version of dashboard', '-b, --brief do not show dashboard names', '-N, --no-system do not show system-owned dashboards', '-f, --format=STRING output format'] end |
#description ⇒ Object
6 7 8 |
# File 'lib/wavefront-cli/commands/dashboard.rb', line 6 def description 'view and manage dashboards' end |