64kramsystem / 64kramsystem/simple_scripting

Special handling of `--help` and `--version`

Open
#41 0 comments 0 reactions 1 assignee Claimed by @64kramsystem View on GitHub
high_priority technical_debt
Dominant language
Ruby
Stars
9
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The two options have special behavior:

- they're baked in OptParse; preferrably, they shouldn't (this can be handled by manually raising an error)
- `--help` should disregard the correctness of the rest of the option/arguments when present. it's unclear how to handle broken options, since they would cause an error to be raised (check if optparse does an exception in this case)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.