Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validator to CLI -l language flag #65

Open
alerque opened this issue May 7, 2020 · 1 comment
Open

Add validator to CLI -l language flag #65

alerque opened this issue May 7, 2020 · 1 comment

Comments

@alerque
Copy link
Member

alerque commented May 7, 2020

If you forget to add a language at all or add an invalid one is is either confusingly ignored (default language used, should warn) or the next argument is treated as the language. A validator that checks that it is BCP47 parsable would be nice.

@alerque
Copy link
Member Author

alerque commented May 7, 2020

It would also enable completions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant