Class: Dockly::ListCommand

Inherits:
AbstractCommand show all
Defined in:
lib/dockly/cli.rb

Instance Method Summary collapse

Instance Method Details

#executeObject



34
35
36
37
38
39
# File 'lib/dockly/cli.rb', line 34

def execute
  super
  Dockly.debs.each_with_index do |(name, package), index|
    puts "#{index + 1}. #{name}"
  end
end