Class: MrHyde::Commands::Remove
- Inherits:
-
MrHyde::Command
- Object
- MrHyde::Command
- MrHyde::Commands::Remove
- Defined in:
- lib/mr_hyde/commands/remove.rb
Class Method Summary collapse
Methods inherited from MrHyde::Command
configuration, configuration_from_options
Class Method Details
.process(args, opts = {}) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/mr_hyde/commands/remove.rb', line 8 def process(args, opts = {}) if args.length == 0 and not opts['all'] MrHyde.logger.warn("A site name must be typed. You can see a list of nested sites using the 'list' command.") else Site.remove args, opts end end |