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

granted cli argument parsing issue #819

Open
nickforsythbarr opened this issue Jan 13, 2025 · 1 comment
Open

granted cli argument parsing issue #819

nickforsythbarr opened this issue Jan 13, 2025 · 1 comment

Comments

@nickforsythbarr
Copy link

nickforsythbarr commented Jan 13, 2025

example command: granted sso populate --sso-region ap-southeast-2 https://example.awsapps.com/start --prune

the prune argument is inactive due to its position. Ideally arguments should be parsed no matter which position they appear in.

If you move prune it works as expected
granted sso populate --prune --sso-region ap-southeast-2 https://example.awsapps.com/start

@chrnorm
Copy link
Contributor

chrnorm commented Feb 3, 2025

This is an issue in the CLI library we use. Good news is that it's been fixed in their v3 version! v3 is still in alpha though, so we'll upgrade after it's stable. I'll leave this open until then.

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