lib/percheron/commands/console.rb in percheron-0.7.4 vs lib/percheron/commands/console.rb in percheron-0.7.5
- old
+ new
@@ -10,10 +10,11 @@
pry
end
private
+ # FIXME: Dupe?
def list
Stack.get(config, stack_name).each do |_, stack|
puts("\n", Percheron::Formatters::Stack::Table.new(stack).generate)
end
nil
@@ -56,8 +57,10 @@
def restart(container_names)
stack.restart!(container_names: [ *container_names ])
nil
end
+
+ alias_method :status, :list
end
end
end