davetron5000/methadone — Issue #15: Support for defaults
Author: davetron5000
Created: 2011-11-22 15:21:56+00:00
State: open
Labels: feature

I'm frequently doing this:

```Ruby
options[:foo] = 'default'

on("--foo VAL","The foo value (default: #{options[:foo]})")
```

I'd like to not have to do that. Since `options` will contain the defaults, perhaps `on` in the proxy could be smart about this. It could detect the documentation string and append the default. Problem is that it's not super clear which option name to use or what to do if there are different defaults for the same logical options names (e.g. `-f` has one value but `--foo` has another, yet they are both passed to `on`)