Coder Social home page Coder Social logo

isabella232 / twilio-cli-core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from twilio/twilio-cli-core

0.0 0.0 0.0 3.61 MB

Core functionality for the twilio-cli

License: MIT License

Shell 0.73% JavaScript 98.80% Python 0.18% Makefile 0.18% Dockerfile 0.10%

twilio-cli-core's Introduction

twilio-cli-core

Learn with TwilioQuest

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

Usage with proxy

  • HTTP_PROXY: If using Twilio CLI behind a proxy, set the URL of the proxy in an environment variable called HTTP_PROXY.

Config

Manages the CLI configuration options, such as Twilio profiles 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.

twilio-cli-core's People

Contributors

alecnicolas avatar charan678 avatar childish-sambino avatar david-amores-anz avatar dependabot[bot] avatar dprothero avatar eshanholtz avatar jennifermah avatar kridai avatar ktalebian avatar kwhinnery avatar maylonpedroso avatar onuzbee avatar philnash avatar ravali-rimmalapudi avatar semantic-release-bot avatar sergiofbsilva avatar shrutiburman avatar shwetha-manvinkurke avatar sindhura3 avatar sr010 avatar thinkingserious avatar twilio-ci avatar twilio-dx avatar twilio-product-security avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.