stripe / stripe-cli

A command-line tool for Stripe
https://stripe.com/docs/stripe-cli
Apache License 2.0
1.61k stars 374 forks source link

Unknown command "preview" for "stripe" #1239

Open Aleksandern opened 1 month ago

Aleksandern commented 1 month ago

Issue

stripe preview whoami command doesn't work as described in the doc. I get error

Unknown command "preview" for "stripe". Did you mean "reviews"?
If not, see "stripe --help" for a list of available commands.

Expected Behavior

Display the sandbox i'm currently using.

Steps to reproduce

run the following command in the CLI:

Environment

jamespierce-rg commented 1 month ago

This isn't immediately apparent from the documentation (they should probably call it out in the sandbox docs)

You need to install the Stripe CLI preview plugin

https://docs.stripe.com/cli-preview-plugin