Class: Dockly::ListCommand
- Inherits:
-
AbstractCommand
- Object
- Clamp::Command
- AbstractCommand
- Dockly::ListCommand
- Defined in:
- lib/dockly/cli.rb
Instance Method Summary collapse
Instance Method Details
#execute ⇒ Object
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 |