64kramsystem / 64kramsystem/simple_scripting

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

未關閉
#41 0 則留言 0 個 reaction 已指派 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 摘要。