vmc-ng/lib/vmc/cli/app.rb in vmc-0.4.0.beta.66 vs vmc-ng/lib/vmc/cli/app.rb in vmc-0.4.0.beta.67

- old
+ new

@@ -45,10 +45,14 @@ if input[:full] spaced(apps) do |a| display_app(a) end + elsif quiet? + apps.each do |a| + line a.name + end else table( ["name", "status", "usage", v2? && "plan", "runtime", "url"], apps.collect { |a| [ c(a.name, :name), @@ -767,14 +771,9 @@ end IS_UTF8 = !!(ENV["LC_ALL"] || ENV["LC_CTYPE"] || ENV["LANG"])["UTF-8"] def display_app(a) - if quiet? - line a.name - return - end - status = app_status(a) line "#{c(a.name, :name)}: #{status}" indented do