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

--latest flag does not exit #1223

Open
lyrixx opened this issue Jul 31, 2024 · 2 comments
Open

--latest flag does not exit #1223

lyrixx opened this issue Jul 31, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@lyrixx
Copy link

lyrixx commented Jul 31, 2024

Issue

$ stripe customers retrieve cus_QZiNVQtbtcoGi4 --latest
unknown flag: --latest

Link to the doc:
https://docs.stripe.com/stripe-cli/overview#specify-an-api-version-while-running-requests

Expected Behavior

It should work

Steps to reproduce

$ stripe customers retrieve cus_QZiNVQtbtcoGi4 --latest
{....}

Environment

  • Linux
  • $ stripe --version
    stripe version 1.21.2
@lyrixx lyrixx added the bug Something isn't working label Jul 31, 2024
@lyrixx lyrixx changed the title --latest flag does not exit --latest flag does not exit Jul 31, 2024
@tomer-stripe
Copy link
Collaborator

Hey @lyrixx! Sorry that's a mistake on the docs, --latest only works for listen. On resource commands like customers you need to specify --stripe-version manually if you want to change it.

@lyrixx
Copy link
Author

lyrixx commented Aug 22, 2024

Np, Do you expects something from me, or you gonna fix it on your side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants