lib/cloudstack-cli/commands/project.rb in cloudstack-cli-0.3.10 vs lib/cloudstack-cli/commands/project.rb in cloudstack-cli-0.3.11
- old
+ new
@@ -1,8 +1,8 @@
class Project < CloudstackCli::Base
- desc "show NAME", "show detailed infos about a project"
+ desc "project show NAME", "show detailed infos about a project"
option :project
def show(name)
unless project = client.get_project(name)
puts "No project with name #{name} found."
else
@@ -11,10 +11,10 @@
say "#{value}"
end
end
end
- desc "list", "list projects"
+ desc "project list", "list projects"
def list
projects = client.list_projects
if projects.size < 1
puts "No projects found."
else
\ No newline at end of file