64kramsystem / 64kramsystem/simple_scripting

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

Abierto
#41 0 comentarios 0 reacciones 1 asignado Reclamado por @64kramsystem Ver en GitHub
high_priority technical_debt
Lenguaje dominante
Ruby
Estrellas
9
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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)

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.