Skip to content

Improve messaging for missing service SID in list command #41

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

Closed
dkundel opened this issue Jul 19, 2019 · 0 comments
Closed

Improve messaging for missing service SID in list command #41

dkundel opened this issue Jul 19, 2019 · 0 comments
Labels

Comments

@dkundel
Copy link
Contributor

dkundel commented Jul 19, 2019

Right now when you run twilio serverless:list outside of a deployed project project it fails with:

It should instead:

  1. tell people to find existing services through list services
  2. listing services should be the default
twilio serverless:list

│ ERROR Could not find Service SID
│
│ We could not find a Twilio Serverless Service SID to perform this action.
│
│ You can either pass the Service SID via the "--service-sid" flag or by storing it in a ".twilio-functions" file
│ inside your project like this:
│
│   {
│     "serviceSid": "ZSf9dec7e059e0695f4c8axxxxxxxxxxxx"
│   }
@dkundel dkundel added the v-next label Jul 19, 2019
dkundel added a commit that referenced this issue Jul 19, 2019
Improves the error message for missing service SID by providing the command to run it

fix: #41
@dkundel dkundel closed this as completed Jul 19, 2019
dkundel pushed a commit that referenced this issue Aug 10, 2020
This deprecates accountSid and authToken.

Fixes #41.
dkundel pushed a commit that referenced this issue Aug 10, 2020
This deprecates accountSid and authToken.

Fixes #41.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant