# File lib/rhc/commands/base.rb, line 149 def self.argument(name, description, switches=[], options={}) arg_type = options[:type] option_symbol = Commander::Runner.switch_to_sym(switches.last) args_metadata << {:name => name, :description => description, :switches => switches, :option_symbol => option_symbol, :covered_by => options[:covered_by], :optional => options[:optional], :default => options[:default], :allow_nil => options[:allow_nil], :hide => options[:hide], :type => arg_type} end