This module contains core functionality for the twilio-cli.
The base command class for all twilio-cli commands. Includes support for configuration management, logging, and output formatting.
A base command class for commands that need a Twilio client to make API requests. Handles loading credentials from the profile configuration.
Formatters to take a JSON array and write to the stdout. Current formatters include:
A custom http client for the Twilio helper library to allow us to log API requests as well as modify the User-Agent header.
Manages the CLI configuration options, such as Twilio profiles and credentials.
Standardizes logging output of debug, info, warning, and error messages to stderr (all go to stderr to allow differentiation between command output and logging messages).
An abstraction around the keytar npm package which further abstracts platform-level data encryption services for storing Twilio credentials securely.