@lifeomic/alpha-cli

Curl-like CLI for the Alpha client

Stats

StarsIssuesVersionUpdatedCreatedSize
@lifeomic/alpha-cli
1.0.32 months ago4 years agoMinified + gzip package size for @lifeomic/alpha-cli in KB

Readme

alpha-cli

Build Status Coverage Status

alpha-cli provides a curl-like CLI wrapper around the alpha client. This allows Lambda services to be directly invoked manually.

Setup

$ npm install -g @lifeomic/alpha-cli

Usage

$ alpha --help
Options:
  --help         Show help                                             [boolean]
  -H, --header   Pass custom header line to server
  -X, --request  Specify the request method to use
  --data-binary  Send binary data
  --proxy        Run a local http proxy that passes requests to alpha 
  --proxy-port   The port to run the http proxy on
  -V, --version  Show the version number and quit                      [boolean]

$ alpha lambda://user-service/users/jagoda | jq
{
  "id": "jagoda",
  "profile": {
    "email": "jeff.jagoda@lifeomic.com"
  }
}

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.