0.1.7 • Published 7 years ago

gauge-cli v0.1.7

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

Toolkit (CLI)

Install

First install the CLI via npm:

npm install gauge-cli -g

Authenticate

In order to make authenticated requests, you must have an .gauge file present in your users home directory, this file will hold your api key used to make authenticated requests with the CLI.

gauge-cli login

Then setup your local environment so you can make authenticated requests:

gauge-cli setup my-api-key

Usage

Test that everything works, print a summary of your account:

gauge-cli account

List all the displays that belong to your account:

gauge-cli displays

Send a command to one of your displays:

gauge-cli displays afe3cd --action current-weather

Working with displays locally

Scan your local network for displays attached displays:

sudo gauge-cli scan