stripe-cli icon indicating copy to clipboard operation
stripe-cli copied to clipboard

Feature request: Stripe Dashboard URL Compatibility

Open mickeyreiss opened this issue 4 years ago • 1 comments

I often receive Stripe Dashboard URLs via Slack and then inspect the Stripe resource that URL points to.

For example, if someone on my team sends me the link https://dashboard.stripe.com/acct_oijasefoijasef/payments/py_oiasjefoiajsef, I end up typing this in Terminal: stripe charges retrieve --live --stripe-account acct_oijasefoijasef py_oiasjefoiajsef.

This gets the job done, but it requires a bit of repetitive copy-pasting and typing.

It would be more efficient if I could simply open the url directly in the CLI and it understood my intent:

$ stripe https://dashboard.stripe.com/acct_oijasefoijasef/payments/py_oiasjefoiajsef
{
  "id": "py_oiasjefoiajsef"
  // …
}

Thanks!

mickeyreiss avatar Sep 16 '21 18:09 mickeyreiss

Very interesting case and definitely a good idea, thanks for sharing! I'll add that into our internal backlog and hope to be able to fit this at some point!

pepin-stripe avatar Sep 30 '21 20:09 pepin-stripe