plugin-select
v1.1.6
Published
Easily select and display your Twilio resource
Downloads
3
Readme
Twilio CLI plugin-select
This plugin for Twilio CLI allows for an easier selection of Twilio resources for display and selection.
Currently only selection of the Twilio project is enabled. More resources will be added in the future.
Install
In your terminal type:
twilio plugins:install vernig/plugin-select
Once installed, type:
twilio select
If you see this:
Easily select and display your Twilio resource
USAGE
$ twilio select:COMMAND
COMMANDS
select:flexconfig Update, backup and restore your Flex Configuration
select:profile Select and switch your Twilio account / profile
Then your plugin is correctly installed.
Commands
twilio select:profile
twilio select:flexconfig:update
twilio select:flexconfig:backup
twilio select:flexconfig:restore
twilio select:profile
To select your Twilio project / account, type:
twilio select:profile
A list of available profiles is shown, with the active one selected. Move the arrow and choose your profile.
twilio select:flexconfig:update
Update your Flex configuration. Before using it, make sure you are logged in into a Flex project.
twilio select:flexconfig:update
Before updating the Flex configuration, the plugin will autosave the current configuration in a file called flexconfig_<account sid>_<timestamp>.json
in the same folder where the command has been executed in.
Note: Some Flex configuration cannot be changes, and those include account_sid
, status
, flex_service_instance_sid
, runtime_domain
, taskrouter_workspace_sid
, service_version
, taskrouter_offline_activity_sid
.
twilio select:flexconfig:backup
Backup to local file the currrent Flex configuration.
twilio select:flexconfig:backup
The configuration is stored in a file called flexconfig_<account sid>_<timestamp>.json
in the same folder where the command has been executed in.
The generated file can be used with the restore
command.
twilio select:flexconfig:restore
Restore the Flex configuration from file.
twilio select:flexconfig:restore
The plugin will show the files in the current directory whose file name is flexconfig_AC*
.