irb
irb copied to clipboard
Use OptionParser to parse options
Work-in-progress.
Fixes https://github.com/ruby/irb/issues/655
Checklist:
- [x] options and values parity with old
parse_opts - [ ] remaining argv-based code for running scripts and arguments pass
-- - [ ] I18n (allowing removal of
lc/help-message)
Cześć @tomash, jak się masz?
Are you still on it or can I give it a go?
@alexanderadam Grüezi! Go ahead, as you can see from history I haven't worked on it since over a year. I actually forgot about this work, thanks for bringing it up!
The "only" remaining challenge is handling anything passed after "--", which is way outside OptionParser capabilities. My plan for next step was to isolate them for separate parsing and only use OptionParser on the remaining, "vanilla" arguments part.