@digitally-imported/cli
Usage
$ npm install -g @digitally-imported/cli
$ di COMMAND
running command...
$ di (-v|--version|version)
@digitally-imported/cli/0.0.3 linux-x64 node-v13.5.0
$ di --help [COMMAND]
USAGE
$ di COMMAND
...
Commands
di channels
di get-volume
di help [COMMAND]
di ping
di play CHANNEL
di select
di set-volume VOLUME
di status
di stop
di channels
List all available channels.
USAGE
$ di channels
OPTIONS
-e, --endpoint=endpoint [default: http://localhost:4979] The endpoint where the server is listening
-f, --favorites-only List favorite channels only
-o, --output-format=(text|json) [default: text] The output format
-s, --skip-version-check Do not check whether the client and server versions match
EXAMPLE
$ di channels
di get-volume
Get the current playback volume.
USAGE
$ di get-volume
OPTIONS
-e, --endpoint=endpoint [default: http://localhost:4979] The endpoint where the server is listening
-o, --output-format=(text|json) [default: text] The output format
-s, --skip-version-check Do not check whether the client and server versions match
EXAMPLE
$ di get-volume
di help [COMMAND]
display help for di
USAGE
$ di help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
di ping
Test if the server is alive.
USAGE
$ di ping
OPTIONS
-e, --endpoint=endpoint [default: http://localhost:4979] The endpoint where the server is listening
-o, --output-format=(text|json) [default: text] The output format
-s, --skip-version-check Do not check whether the client and server versions match
EXAMPLE
$ di ping
di play CHANNEL
Play a channel.
USAGE
$ di play CHANNEL
ARGUMENTS
CHANNEL The name of the channel to play.
OPTIONS
-e, --endpoint=endpoint [default: http://localhost:4979] The endpoint where the server is listening
-o, --output-format=(text|json) [default: text] The output format
-s, --skip-version-check Do not check whether the client and server versions match
EXAMPLE
$ di play progressive
di select
List all available channels.
USAGE
$ di select
OPTIONS
-e, --endpoint=endpoint [default: http://localhost:4979] The endpoint where the server is listening
-f, --favorites-only List favorite channels only
-o, --output-format=(text|json) [default: text] The output format
-s, --skip-version-check Do not check whether the client and server versions match
EXAMPLE
$ di channels
di set-volume VOLUME
Set the playback volume.
USAGE
$ di set-volume VOLUME
ARGUMENTS
VOLUME The new volume (between 0 and 125).
OPTIONS
-e, --endpoint=endpoint [default: http://localhost:4979] The endpoint where the server is listening
-o, --output-format=(text|json) [default: text] The output format
-s, --skip-version-check Do not check whether the client and server versions match
EXAMPLE
$ di set-volume 80
di status
Show the current playback status.
USAGE
$ di status
OPTIONS
-e, --endpoint=endpoint [default: http://localhost:4979] The endpoint where the server is listening
-o, --output-format=(text|json) [default: text] The output format
-s, --skip-version-check Do not check whether the client and server versions match
EXAMPLE
$ di status
di stop
Stop playback.
USAGE
$ di stop
OPTIONS
-e, --endpoint=endpoint [default: http://localhost:4979] The endpoint where the server is listening
-o, --output-format=(text|json) [default: text] The output format
-s, --skip-version-check Do not check whether the client and server versions match
EXAMPLE
$ di stop