Class: Sashimi::Commands::Update
- Inherits:
-
Object
- Object
- Sashimi::Commands::Update
- Defined in:
- lib/sashimi/commands.rb
Instance Method Summary collapse
-
#initialize(base_command) ⇒ Update
constructor
A new instance of Update.
- #options ⇒ Object
- #parse!(args) ⇒ Object
Constructor Details
#initialize(base_command) ⇒ Update
Returns a new instance of Update.
123 124 125 |
# File 'lib/sashimi/commands.rb', line 123 def initialize(base_command) @base_command = base_command end |
Instance Method Details
#options ⇒ Object
127 128 129 130 131 132 133 |
# File 'lib/sashimi/commands.rb', line 127 def OptionParser.new do |o| o.set_summary_indent(' ') o. = "Usage: #{@base_command.script_name} update PLUGIN" o.define_head "Update an installed plugin." end end |