メニュー

Expand
ページを評価:

CLI Plugins

twilio-cli can be extended through plugins. You can publish your own plugins for the community or make them private for your own — or your clients’ — business workflows.

Install a plugin

Plugins for twilio-cli are installed using the twilio plugins command.

  1. Install a plugin by its package name:

    twilio plugins:install <plugin-package-name>
  2. Run your plugin commands from twilio-cli. Refer to the plugin’s documentation to see what new commands are available.

  3. If you’re using autocomplete, you’ll need to run twilio autocomplete after installing a plugin and then open a new terminal window. twilio-cli needs to rebuild its cache.

Available plugins

  • twilio serverless — Use this to streamline your Twilio Functions development workflow.

    twilio plugins:install @twilio-labs/plugin-serverless
  • twilio watch — Allows you to watch your live debugger alerts, voice calls, and messages as they come in, in real time.

    twilio plugins:install @twilio-labs/plugin-watch
  • twilio token — Install and use this plugin to generate a token for use in a client-side SDK, e.g., a chat application.

    twilio plugins:install @twilio-labs/plugin-token
  • twilio flex — Allows you to create, build, and deploy Flex plugins.

    twilio plugins:install @twilio-labs/plugin-flex
  • twilio assets — Allows you to upload and manage static assets in a Twilio Assets service.

    twilio plugins:install @twilio-labs/plugin-assets

Create a plugin

Want to write your own plugin? This document will show you how.

ページを評価:

ヘルプが必要ですか?

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 Community Forums or browsing the Twilio tag on Stack Overflow.

        
        
        

        フィードバックくださりありがとうございます!

        We are always striving to improve our documentation quality, and your feedback is valuable to us. Please select the reason(s) for your feedback or provide additional information about how we can improve:

        Sending your feedback...
        🎉 Thank you for your feedback!
        Something went wrong. Please try again.

        Thanks for your feedback!

        Refer us and get $10 in 3 simple steps!

        ステップ1

        Get link

        Get a free personal referral link here

        ステップ2:

        Give $10

        Your user signs up and upgrade using link

        ステップ3

        Get $10

        1,250 free SMSes
        OR 1,000 free voice mins
        OR 12,000 chats
        OR more