Skip to content

Use OptionParser to parse options#858

Open
tomash wants to merge 4 commits into
ruby:masterfrom
tomash:use-optionparser
Open

Use OptionParser to parse options#858
tomash wants to merge 4 commits into
ruby:masterfrom
tomash:use-optionparser

Conversation

@tomash

@tomash tomash commented Feb 2, 2024

Copy link
Copy Markdown

Work-in-progress.

Fixes #655

Checklist:

  • 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)

@alexanderadam

alexanderadam commented Oct 27, 2025

Copy link
Copy Markdown
Contributor

Cześć @tomash, jak się masz?

Are you still on it or can I give it a go?

@tomash

tomash commented Oct 28, 2025

Copy link
Copy Markdown
Author

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use OptionParser to parse options

2 participants