Skip to content

Unknown command "preview" for "stripe" #1239

@Aleksandern

Description

@Aleksandern

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:

  • brew install stripe/stripe-cli/stripe
  • stripe login
  • stripe listen --forward-to localhost:3333/api/ (webhook is visible)
  • stripe preview whoami

Environment

  • macOS
  • stripe version 1.21.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions