lib/cloudstack-cli/commands/project.rb in cloudstack-cli-0.11.2 vs lib/cloudstack-cli/commands/project.rb in cloudstack-cli-0.12.0
- old
+ new
@@ -1,9 +1,8 @@
class Project < CloudstackCli::Base
desc "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
table = project.map do |key, value|
@@ -25,7 +24,7 @@
end
print_table(table)
say "Total number of projects: #{projects.count}"
end
end
-
-end
\ No newline at end of file
+
+end