Class: Sashimi::Commands::List
- Inherits:
-
Object
- Object
- Sashimi::Commands::List
- Defined in:
- lib/sashimi/commands.rb
Instance Method Summary collapse
-
#initialize(base_command) ⇒ List
constructor
A new instance of List.
- #options ⇒ Object
- #parse!(args) ⇒ Object
Constructor Details
#initialize(base_command) ⇒ List
Returns a new instance of List.
169 170 171 |
# File 'lib/sashimi/commands.rb', line 169 def initialize(base_command) @base_command = base_command end |
Instance Method Details
#options ⇒ Object
173 174 175 176 177 178 179 |
# File 'lib/sashimi/commands.rb', line 173 def OptionParser.new do |o| o.set_summary_indent(' ') o. = "Usage: #{@base_command.script_name} list" o.define_head "List all installed plugins." end end |