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

Moving --key flag before positional arg doesn't work #10

Closed
ahmetb opened this issue Apr 23, 2019 · 1 comment
Closed

Moving --key flag before positional arg doesn't work #10

ahmetb opened this issue Apr 23, 2019 · 1 comment

Comments

@ahmetb
Copy link

ahmetb commented Apr 23, 2019

Most CLIs accept --options before positional args:

But this doesn't seem to work

berglas create --key $KEY my-secret/CONSUMER_KEY xxx

Error: accepts 2 arg(s), received 3
Usage:
   ...
@ahmetb
Copy link
Author

ahmetb commented Apr 23, 2019

My bad, I was passing $KEY empty.

@ahmetb ahmetb closed this as completed Apr 23, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant