No utility in overriding help/version given exception
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 259
- Forks
- 35
- PR merge metrics
- No merged PRs in 30d
Description
Due to the handling of `:help`/`:version` flags by raising an exception, there is little to no utility in overriding these. I suggest not raising an exception (arguably there is no exception) or providing a more comprehensive way to override this behavior if a user/developer supplies his/her own `:help`/`:version` options.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names only the :help/:version option handling and its exception behavior; start by locating that code in the Ruby command-line parser. Compare how user-defined :help and :version options are processed, then clarify the intended override behavior and add coverage for the agreed result. No file or test is named in the issue, so the expected behavior needs clarification before implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100