class MrHyde::Commands::Remove

Public Class Methods

process(args, opts = {}) click to toggle source
# 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