2.0.1 • Published 5 years ago
@garethpaul/plugin-cli-101-training v2.0.1
@garethpaul/cli-101-training
CLI 101 Training
This page should describe some of the contents for Twilio CLI 101.
Suggested Reading
Contents
Setup
$ git clone git@github.com:garethpaul/plugin-cli-101-training.git
$ twilio plugins:link ./plugin-cli-101-trainingUsage
$ twilio cli-101-trainingCommands
twilio cli-101-training:examples
Twilio 101 Examples
USAGE
$ twilio cli-101-training:examples
OPTIONS
--stage=development|staging|productionSee code: src/commands/cli-101-training/examples.js
twilio cli-101-training:feedback
Welcome to Twilio 101 Training
USAGE
$ twilio cli-101-training:feedback
OPTIONS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.See code: src/commands/cli-101-training/feedback.js
twilio cli-101-training:welcome
Welcome to Twilio 101 Training
USAGE
$ twilio cli-101-training:welcome
OPTIONS
-l=(debug|info|warn|error|none) [default: info] Level of logging messages.
-o=(columns|json|tsv) [default: columns] Format of command output.
-p, --profile=profile Shorthand identifier for your profile.See code: src/commands/cli-101-training/welcome.js
$ twilio cli-101-training:welcome$ twilio cli-101-training:examples$ twilio cli-101-training:feedback$ twilio cli-101-training:tipsTips
Here are some generalized tips
Enable Autocomplete
$ twilio autocompleteEnable Help
$ twilio --helpEnable Twilio Debugging
$ twilio api:core:applications:list -l debugEnable Verbose Debugging
env DEBUG=*Enable Autocomplete
$ twilio autocompleteExamples
$ twilio profiles:list
$ twilio profiles:create
$ twilio profiles:use dev
$ twilio api:core:keys:create --friendly-name=voice-client-javascript -o json
$ twilio api:core:messages:list -o json
$ twilio api:core:messages:list -o tsv
$ twilio api:core:accounts:listngrok
$ http-server --proxy http://localhost:8080
$ twilio phone-numbers:update +12107574383 --sms-url=https://localhost:8080