# File lib/rhc/commands/base.rb, line 171 def self.alias_action(action, options={}) # if it is a root_command we simply alias it to the passed in action # if not we prepend the current resource to the action # default == false options[:root_command] ||= false options[:action] = action options[:deprecated] ||= false aliases << options end