lib/cloudstack-cli/commands/template.rb in cloudstack-cli-0.4.3 vs lib/cloudstack-cli/commands/template.rb in cloudstack-cli-0.5.0
- old
+ new
@@ -1,7 +1,7 @@
class Template < CloudstackCli::Base
- desc 'template list [TYPE]', 'list templates by type [featured|self|self-executable|executable|community], default is featured'
+ desc 'list [TYPE]', 'list templates by type [featured|self|self-executable|executable|community], default is featured'
option :project
option :zone
def list(type='featured')
project = find_project if options[:project]
unless %w(featured self self-executable executable community).include? type
\ No newline at end of file