plugin-alias2 v1.1.7
@Kavya-24/plugin-alias
Access, store and use your favorite twilio aliases with this plugin
Getting Started
Install the Twilio CLI
Via npm
or yarn
:
$ npm install -g twilio-cli
$ yarn global add twilio-cli
Via homebrew
:
$ brew tap twilio/brew && brew install twilio
See the Twilio CLI documentation for more information.
Install the plugin for general use
The following step will install the plugin from NPM and is recommended if you are interested in trying out the commands in the latest release.
$ twilio plugins:install @Kavya-24/plugin-alias
Install the plugin for local development
The following step will install the plugin from a local directory. Use this option if you are interested in modifying the plugin and testing it out from the Twilio CLI.
$ twilio plugins:link /path/to/plugin-alias
Setup the local alias directory
The following step will create a directory named "alias" in the local data directory of the user. Use this command before running any other alias command to setup the necessary directory structure.
$ twilio alias:setup
Usage
$ twilio --help alias
USAGE
$ twilio alias
...
Commands
twilio alias:add [NAME] [COMMAND]
twilio alias:delete [NAME]
twilio alias:export
twilio alias:import [DEST]
twilio alias:list
twilio alias:setup
twilio alias:use
twilio alias:add [NAME] [COMMAND]
Create a new alias to access Twilio CLI commands
USAGE
$ twilio alias:add [NAME] [COMMAND]
ARGUMENTS
NAME alias name to add
COMMAND command to be aliased
OPTIONS
-f, --force Force overwrite the alias if it already exists
See code: src/commands/alias/add.js
twilio alias:delete [NAME]
Delete an alias
USAGE
$ twilio alias:delete [NAME]
ARGUMENTS
NAME alias name to delete
See code: src/commands/alias/delete.js
twilio alias:export
Export the aliases
USAGE
$ twilio alias:export
See code: src/commands/alias/export.js
twilio alias:import [DEST]
Import aliases from a file
USAGE
$ twilio alias:import [DEST]
ARGUMENTS
DEST path of alias file
See code: src/commands/alias/import.js
twilio alias:list
View the aliases
USAGE
$ twilio alias:list
See code: src/commands/alias/list.js
twilio alias:setup
Setup local directory for storing aliases
USAGE
$ twilio alias:setup
See code: src/commands/alias/setup.js
twilio alias:use
Use an alias for a Twilio CLI command
USAGE
$ twilio alias:use
ALIASES
$ twilio use
See code: src/commands/alias/use.js
2 years ago