aspiers/linear-tools

Do option validation

Offen

#6 geöffnet am 21.11.2022

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (2 Forks)github user discovery
bughelp wanted

Repository-Metriken

Stars
 (6 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Currently gluegun doesn't do any option validation so you can invoke with --any-random-option and it won't complain. Also it only works with options coming after the positional arguments, which is highly unconventional and unfriendly.

gluegun uses yargs under the hood but I can't figure out how to fix this. Based on a quick look at the gluegun source I think it's a fundamental limitation of gluegun. TBH I'm tempted to scrap gluegun because it doesn't seem to add much value to this project.

Contributor Guide