@twilio/cli-core
Core functionality for the twilio-cli
Last updated 3 days ago by twilio-ci .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @twilio/cli-core 
SYNC missed versions from official npm registry.

twilio-cli-core

This module contains core functionality for the twilio-cli.

Base commands

BaseCommand

The base command class for all twilio-cli commands. Includes support for configuration management, logging, and output formatting.

TwilioClientCommand

A base command class for commands that need a Twilio client to make API requests. Handles loading credentials from the project configuration.

Services

Output formats

Formatters to take a JSON array and write to the stdout. Current formatters include:

  • Columns (default, human readable)
  • JSON (raw API output)
  • TSV

CliRequestClient

A custom http client for the Twilio helper library to allow us to log API requests as well as modify the User-Agent header.

Config

Manages the CLI configuration options, such as Twilio projects and credentials.

Logger

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).

SecureStorage

An abstraction around the keytar npm package which further abstracts platform-level data encryption services for storing Twilio credentials securely.

Current Tags

  • 1.4.0                                ...           latest (3 days ago)

10 Versions

  • 1.4.0                                ...           3 days ago
  • 1.3.1                                ...           4 days ago
  • 1.3.0                                ...           4 days ago
  • 1.2.0                                ...           12 days ago
  • 1.1.2                                ...           13 days ago
  • 1.1.1                                ...           18 days ago
  • 1.1.0                                ...           a month ago
  • 1.0.0                                ...           2 months ago
  • 0.0.2                                ...           2 months ago
  • 0.0.1                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 57
This Month 95
Last Day 0
Last Week 38
Last Month 40
Dependencies (11)
Dev Dependencies (11)

Copyright 2014 - 2017 © taobao.org |