-
Couldn't load subscription status.
- Fork 64
Description
I'm currently writing an automation shell script that buys a number, creates a sync service, and deploys a function. These deployed function should be used by the just bought number. Unfortunately, I didn't see a way to get the command response in an easy machine readable format.
The twilio CLI provides the command option -o=json for several other commands. This option allows to get the command response in JSON and thus in a machine readable format. It makes it possible to re-use values and to write advanced scripts. It would be great to have this option in the Twilio Serverless CLI plugin, too.
As the CLI is only a wrapper around twilio-run I thought that it's best to open the issue here first. :)
What I'm looking for is something as follows:
# in the Twilio CLI
$ twilio serverless.deploy -o=json
# and in twilio-run
$ twilio-run deploy --output=json
Is this something you'd be up for?