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

Required named arguments? #64

Closed
gdevenyi opened this issue Jan 30, 2019 · 2 comments
Closed

Required named arguments? #64

gdevenyi opened this issue Jan 30, 2019 · 2 comments

Comments

@gdevenyi
Copy link

I don't see in the API a way to define a required named argument. If that is indeed not the case, I would like to request such an option.

Thanks!

@matejak
Copy link
Owner

matejak commented Jan 31, 2019

This is a duplicate of #56.
You can implement the "required" part in your code, i.e. if the respective value is empty, raise an error. However, this functionality would violate POSIX/GNU command-line interface standards.

@matejak matejak closed this as completed Jan 31, 2019
@gdevenyi
Copy link
Author

Ah, I wasn't aware of that violating the command-line standards, I'd rather maintain those. Thanks.

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

2 participants