🏡 index : ~doyle/sonos-cli.git

author Jordan Doyle <jordan@doyle.la> 2019-01-17 0:12:05.0 +00:00:00
committer GitHub <noreply@github.com> 2019-01-17 0:12:05.0 +00:00:00
commit
5f93577515ed1d85986c55d2864dd964a6cd1d4e [patch]
tree
eb7a468dc2a7640818ade7bdfcf2595c1712541a
parent
b9411382c29bcf68269f42aa669274a1e514d28e
download
5f93577515ed1d85986c55d2864dd964a6cd1d4e.tar.gz

Create README.md



Diff

 README.md | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6879185
--- /dev/null
+++ b/README.md
@@ -0,0 +1,42 @@
# sonos-cli

Control and monitor your Sonos speakers from the command line.

## Build from source

```bash
$ git clone git@github.com:w4/sonos-cli.git && cd sonos-cli
$ cargo build --release
$ mv target/release/sonos-cli /usr/local/bin/sonos
```

## Usage

```
sonos 0.1.0
Jordan Doyle 
Control your Sonos using the command line

USAGE:
    sonos-cli [OPTIONS] [json] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c <IP or Room Name>        Set the controller to run operation on

ARGS:
    <json>    Return back JSON serialised responses for programmatic use of the CLI

SUBCOMMANDS:
    help        Prints this message or the help of the given subcommand(s)
    info        Shows information about the speaker
    next        Skip to the next track
    previous    Go back to the last track
    rooms       List all of your speakers
    seek        Seek to a specific timestamp on the current track
    track       Show the current track information
    volume      Get or set the volume of the speaker
```