Class: Sashimi::Commands::Uninstall
- Inherits:
-
Object
- Object
- Sashimi::Commands::Uninstall
- Defined in:
- lib/sashimi/commands.rb
Instance Method Summary collapse
-
#initialize(base_command) ⇒ Uninstall
constructor
A new instance of Uninstall.
- #options ⇒ Object
- #parse!(args) ⇒ Object
Constructor Details
#initialize(base_command) ⇒ Uninstall
Returns a new instance of Uninstall.
113 114 115 |
# File 'lib/sashimi/commands.rb', line 113 def initialize(base_command) @base_command = base_command end |
Instance Method Details
#options ⇒ Object
117 118 119 120 121 122 123 |
# File 'lib/sashimi/commands.rb', line 117 def OptionParser.new do |o| o.set_summary_indent(' ') o. = "Usage: #{@base_command.script_name} uninstall PLUGIN [PLUGIN2, PLUGIN3]" o.define_head "Uninstall plugin(s) from local repository." end end |