lib/cf/cli/space/spaces.rb in cf-0.6.1.rc4 vs lib/cf/cli/space/spaces.rb in cf-0.6.1.rc5

- old
+ new

@@ -10,11 +10,11 @@ :from_given => by_name(:organization), :default => proc { client.current_organization } input :name, :desc => "Filter by name" input :full, :desc => "Show full information for apps, services, etc.", :default => false + def spaces - org = input[:organization] spaces = with_progress("Getting spaces in #{c(org.name, :name)}") do org.spaces(:depth => quiet? ? 0 : 1).sort_by(&:name) end \ No newline at end of file