64kramsystem / 64kramsystem/simple_scripting

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

オープン
#41 コメント 0 件 リアクション 0 件 担当者 1 名 @64kramsystem が担当を希望しています GitHub で見る
high_priority technical_debt
主要言語
Ruby
スター
9
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。