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-cliVia homebrew:
$ brew tap twilio/brew && brew install twilioSee 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-aliasInstall 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-aliasSetup 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:setupUsage
$ twilio --help alias
USAGE
$ twilio alias
...Commands
twilio alias:add [NAME] [COMMAND]twilio alias:delete [NAME]twilio alias:exporttwilio alias:import [DEST]twilio alias:listtwilio alias:setuptwilio 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 existsSee code: src/commands/alias/add.js
twilio alias:delete [NAME]
Delete an alias
USAGE
$ twilio alias:delete [NAME]
ARGUMENTS
NAME alias name to deleteSee code: src/commands/alias/delete.js
twilio alias:export
Export the aliases
USAGE
$ twilio alias:exportSee 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 fileSee code: src/commands/alias/import.js
twilio alias:list
View the aliases
USAGE
$ twilio alias:listSee code: src/commands/alias/list.js
twilio alias:setup
Setup local directory for storing aliases
USAGE
$ twilio alias:setupSee code: src/commands/alias/setup.js
twilio alias:use
Use an alias for a Twilio CLI command
USAGE
$ twilio alias:use
ALIASES
$ twilio useSee code: src/commands/alias/use.js
3 years ago