2.10.0 • Published 11 months ago

rtv-cli v2.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

RTV CLI

Remote TV management CLI

Install

npm install rtv-cli

Configuration

Create config file .rtvrc in home directory:

{
  "apiUrl": "http://{RTV_SERVER}:{PORT}/api"
}

For example if rtv-sever is running on http://192.168.1.2:3000 then the config file is:

{
  "apiUrl": "http://192.168.1.2:3000/api"
}

Usage

rtv <command> [options]
Usage: cli <command> [options]

Remote TV management CLI

Options:
  -c, --config <path>                            path to config file (default: ".rtvrc")
  --verbose                                      verbose output
  -f, --force                                    skip checking TV was recently used by someone else
  -v, --version                                  output the version number
  -h, --help                                     output usage information

Commands:
  list [options]                                 List all connected TVs
  known [options]                                List all known TVs
  info <ip>                                      Get info about connected TV
  dev-panel <ip>                                 Get developer panel URL
  tv-logs <ip>                                   Connect logger to tv and get log page
  browser <ip> [url]                             Launch TV browser with URL
  up <ip>                                        Wake up TV
  free <ip>                                      Free TV
  app-install [options] <ip> <wgt|zip|path>      Install app on the TV
  app-pack [options] <path> <out>                Pack app from path on server and write to out file. Platform is detected by out file extension: .wgt for tizen, .ipk for webOS
  app-state <ip> <appId>                         Get state of app on TV
  app-launch <ip> <appId|url> [jsonParams]       Launch app on TV
  app-debug [options] <ip> <appId> [jsonParams]  Debug app on TV ([jsonParams] are supported only by webOS, example: rtv app-debug <ip> <appId> "{showLog: true}")
  app-close <ip> <appId>                         Close app on TV
  app-uninstall <ip> <appId>                     Uninstall app from TV
  app-list <ip>                                  Get all installed apps on TV
  env                                            Server environment info
  status                                         Server status
  ui                                             Run rtv web interface in browser
2.10.0

11 months ago

2.9.0

1 year ago

2.8.0

1 year ago

2.5.0

2 years ago

2.7.0

2 years ago

2.4.0

2 years ago

2.3.0

2 years ago

2.2.3

2 years ago

2.2.2

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.0.0

2 years ago

1.0.0

6 years ago