Browse Source

add infrastructure help text

pull/14/head
Brett Langdon 11 years ago
parent
commit
3e152db847
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      lib/api/infrastructure.js

+ 7
- 0
lib/api/infrastructure.js View File

@ -38,6 +38,13 @@ module.exports = {
"${command} infrastructure search <query>"
]
},
getHelp: function(){
return [
"Infrastructure:",
" Commands:",
" search <query> query for hosts or metrics with <query> (see http://docs.datadoghq.com/api/#search)",
];
},
handleCli: function(subcommand, args, callback){
var query = args._[4];
search(query, callback);


Loading…
Cancel
Save