timakin (Seiji Takahashi)
- Login: timakin
- Registered on: 02/24/2016
- Last sign in: 10/05/2016
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
06/06/2016
-
08:37 AM Ruby Feature #12459: Add type coercion option to ARGV.getopts arguements.
- Thanks for quick reply!
Former one looks better.
Honestly, I don't know a detail process to contribute, but can I make a pull-req to implement this?
Or is it not acceptable due to the function is not recommended?
Regards, Seiji
06/05/2016
-
09:02 AM Ruby Feature #12459 (Feedback): Add type coercion option to ARGV.getopts arguements.
- I suggest a little new feature to lib/optparse.rb.
When I created CLI tool I defined option parser with `ARGV.getopts` function like following.
~~~ruby
ARGV.getopts('abc:', 'logopt, 'optwithval:val')
~~~
It was so easy and sho...