Class: WavefrontCommandSource
  
  
  
Overview
  
    
Define the source command.
   
 
  
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #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
    
      
  
  
    #_commands  ⇒ Object 
  
  
  
  
    | 
12
13
14
15
16
17
18
19
20 | # File 'lib/wavefront-cli/commands/source.rb', line 12
def _commands
  ["list #{CMN} [-l] [-O fields] [-o cursor] [-L limit] [-a]",
   "describe #{CMN} <id>",
   "description set  #{CMN} <id> <description>",
   "description clear  #{CMN} <id>",
   "clear  #{CMN} <id>",
   "search #{CMN} [-al] [-o cursor] [-L limit] [-O fields] <condition>...",
   tag_commands]
end
 | 
 
    
      
  
  
    #_options  ⇒ Object 
  
  
  
  
    | 
22
23
24
25
26
27
28
29 | # File 'lib/wavefront-cli/commands/source.rb', line 22
def _options
  [common_options,
   "-l, --long               list #{things} in detail",
   "-o, --cursor=SOURCE      start list given #{thing}",
   '-O, --fields=F1,F2,...   only show given fields',
   "-L, --limit=COUNT        number of #{things} to list",
   "-a, --all                list all #{things}, including cluster"]
end
 | 
 
    
      
  
  
    #description  ⇒ Object 
  
  
  
  
    | 
8
9
10 | # File 'lib/wavefront-cli/commands/source.rb', line 8
def description
  'view and manage source tags and descriptions'
end
 |