64kramsystem / 64kramsystem/simple_scripting

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

Offen
#41 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @64kramsystem Auf GitHub ansehen
high_priority technical_debt
Vorherrschende Sprache
Ruby
Sterne
9
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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)

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.