0.0.1 • Published 10 years ago
reportr-cli v0.0.1
#reportr-cli
A command line utility for tracking events with reportr.io. (Can also be used when running your own instance of reportr).
Installation and setup
$ [sudo] npm install reportr-cli -g
$ reportr setup --host="http://www.reportr.io" --token="<your api token>"
Usage
List models
$ reportr list-models
Add new model
$ reportr add-model -h
Usage: add-model [options]
Options:
-h, --help output usage information
-n, --namespace <namespace> Event namespace
-e, --event <event> Event name
-d, --display <name> Display name
-i, --icon <url> Url for a 64x64 icon image
-t, --text <description> Description text for event
Track event
$ reportr track -h
Usage: track [options]
Options:
-h, --help output usage information
-n, --namespace <namespace> Event namespace
-e, --event <event> Event name
-p, --properties <properties> JSON encoded properties
0.0.1
10 years ago