@digitally-imported/cli
A command line interface for the @digitally-imported/server.
Last updated 2 days ago by pigulla .
MIT · Bugs · Original npm · Tarball · package.json
$ cnpm install @digitally-imported/cli 
SYNC missed versions from official npm registry.

@digitally-imported/cli

Typescript Version GitHub license Travis CI Dependencies DevDependencies codecov Snyk

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

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

Current Tags

  • 0.0.4                                ...           beta (12 days ago)
  • 0.0.5                                ...           latest (2 days ago)

4 Versions

  • 0.0.5                                ...           2 days ago
  • 0.0.4                                ...           12 days ago
  • 0.0.3                                ...           5 months ago
  • 0.0.2                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 1
Last Week 8
Last Month 19
Dependencies (10)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |