gauge-cli
v0.1.7
Published
A command line interface for the Gauge display service
Downloads
4
Readme
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