SHET C Client
A command line client for SHET.
$ git clone git://github.com/18sg/SHETCClient.git $ cd SHETCClient $ scons $ sudo scons install
Set the shet server to use in your
If you want tab completion:
All parameters are either parsed as JSON, or failing that, used as a string. All output is JSON-formatted. All errors cause the command to exit with a negative return code.
$ shet /tom/notify "hi" null
$ shet /tom/audio/input 1
$ shet /tom/audio/input 1 null
$ shet /lounge/panel/pressed [ [ 1, 1 ], [ [ 0, 3 ], false, false ] ] [ [ 1, 1 ], [ [ 1, 4 ], false, false ] ]
Each event is printed on it's own line, as an array of parameters.