Class: Sashimi::Commands::Install
- Inherits:
-
Object
- Object
- Sashimi::Commands::Install
- Defined in:
- lib/sashimi/commands.rb
Instance Method Summary collapse
-
#initialize(base_command) ⇒ Install
constructor
A new instance of Install.
- #options ⇒ Object
- #parse!(args) ⇒ Object
Constructor Details
#initialize(base_command) ⇒ Install
Returns a new instance of Install.
81 82 83 |
# File 'lib/sashimi/commands.rb', line 81 def initialize(base_command) @base_command = base_command end |
Instance Method Details
#options ⇒ Object
85 86 87 88 89 90 91 |
# File 'lib/sashimi/commands.rb', line 85 def OptionParser.new do |o| o.set_summary_indent(' ') o. = "Usage: #{@base_command.script_name} install URL" o.define_head "Install a plugin." end end |