2.0.1 • Published 3 years ago

@garethpaul/plugin-cli-101-training v2.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

@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-training

Usage

$ twilio cli-101-training

Commands

twilio cli-101-training:examples

Twilio 101 Examples

USAGE
  $ twilio cli-101-training:examples

OPTIONS
  --stage=development|staging|production

See 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:tips

Tips

Here are some generalized tips

Enable Autocomplete

$ twilio autocomplete

Enable Help

$ twilio --help

Enable Twilio Debugging

$ twilio api:core:applications:list -l debug

Enable Verbose Debugging

env DEBUG=*

Enable Autocomplete

  $ twilio autocomplete

Examples

  $ 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:list

ngrok

  $ http-server --proxy http://localhost:8080
  $ twilio phone-numbers:update +12107574383 --sms-url=https://localhost:8080