Flex Plugins CLI
The Flex Plugins CLI (Command Line Interface) is the interface for developing, testing, and releasing plugins. It accelerates your plugin development by automating the key workflows you'll use while customizing Flex for your users. All plugins developed using the Plugins CLI can be managed on the Plugins Dashboard.
CLI Features
Build new plugins
The Flex Plugins CLI enables you to create new plugins in JavaScript or TypeScript. You can start with a blank slate, or create a plugin from a pre-existing template with the --template
parameter. You can manage packages either via NPM or Yarn (Supported in Flex UI versions 1.19 and up).
Deploy and release plugin versions
The Flex Plugins CLI is built on the Plugins API. You can define plugin versions to track incremental updates to your customer experience. Deploy updates for each of your plugins individually, or bundle all of your updates together in a single release.
Manage your version and release history
All of the updates to your plugin versions are tracked as a history of releases. Use this history to quickly identify and track changes in your application, and select a prior configuration to re-release in the event of an issue with your users.
What's next?
- Install the Plugins CLI
- Migrate your legacy plugins to use the new CLI
- Check out the Reference Guide to see everything the Plugins CLI can do
Need some help?
We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd by visiting Twilio's Stack Overflow Collective or browsing the Twilio tag on Stack Overflow.