# File lib/rhc/commands/base.rb, line 138 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 root_command = options[:root_command] || false aliases << [action, root_command] end