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 摘要。