Feature Requests: Browse | Submit New | Admin
For example: option :minutes do short '-m' long '--minutes=MINUTES' desc 'Show entries within the specified last MINUTES' action { env = env + "&minutes=" + :value } end It's cleaner to do this one-time translation in the associated action code instead of later. At this point, Choice.choices[:minutes] is not available.
Add A Comment:
Date: 2008-09-08 18:15 Sender: Sentinel K You may use: action do |value| do_something(value); end Same as with filter.