|
|
|
@ -221,16 +221,17 @@ module.exports = { |
|
|
|
}, |
|
|
|
getHelp: function(){ |
|
|
|
return [ |
|
|
|
"Tag Commands:", |
|
|
|
" get_all get all tags", |
|
|
|
" get <host> get all tags for a given host", |
|
|
|
" remove <host> delete tags for a given host", |
|
|
|
" create <host> <tags> add the comma separates \"tag:value\"'s from <tag> to <host>", |
|
|
|
" update <host> <tags> update the comma separates \"tag:value\"'s from <tag> to <host>", |
|
|
|
"Tag:", |
|
|
|
" Commands:", |
|
|
|
" get_all get all tags", |
|
|
|
" get <host> get all tags for a given host", |
|
|
|
" remove <host> delete tags for a given host", |
|
|
|
" create <host> <tags> add the comma separates \"tag:value\"'s from <tag> to <host>", |
|
|
|
" update <host> <tags> update the comma separates \"tag:value\"'s from <tag> to <host>", |
|
|
|
"", |
|
|
|
"Tag Options:", |
|
|
|
" --source <source> the source of the tags (e.g. \"chef\", \"user\", \"jenkins\", etc)", |
|
|
|
" --by-source whether the results should be grouped by source" |
|
|
|
" Options:", |
|
|
|
" --source <source> the source of the tags (e.g. \"chef\", \"user\", \"jenkins\", etc)", |
|
|
|
" --by-source whether the results should be grouped by source" |
|
|
|
]; |
|
|
|
}, |
|
|
|
handleCli: function(subcommand, args, callback){ |
|
|
|
|