lib/cloudstack-cli/commands/project.rb in cloudstack-cli-0.10.1 vs lib/cloudstack-cli/commands/project.rb in cloudstack-cli-0.10.2

- old
+ new

@@ -4,13 +4,13 @@ option :project def show(name) unless project = client.get_project(name) puts "No project with name #{name} found." else - project.each do |key, value| - say "#{key}: ", :yellow - say "#{value}" + table = project.map do |key, value| + [ set_color("#{key}", :yellow), "#{value}" ] end + print_table table end end desc "list", "list projects" def list \ No newline at end of file