Class: Sashimi::Commands::Add
- Inherits:
-
Object
- Object
- Sashimi::Commands::Add
- Defined in:
- lib/sashimi/commands.rb
Instance Method Summary collapse
-
#initialize(base_command) ⇒ Add
constructor
A new instance of Add.
- #options ⇒ Object
- #parse!(args) ⇒ Object
Constructor Details
#initialize(base_command) ⇒ Add
Returns a new instance of Add.
184 185 186 |
# File 'lib/sashimi/commands.rb', line 184 def initialize(base_command) @base_command = base_command end |
Instance Method Details
#options ⇒ Object
188 189 190 191 192 193 194 |
# File 'lib/sashimi/commands.rb', line 188 def OptionParser.new do |o| o.set_summary_indent(' ') o. = "Usage: #{@base_command.script_name} add PLUGIN" o.define_head "Add installed plugin(s) to a Rails app." end end |