The webOS TV CLI (Command Line Interface) provides a collection of commands used for creating, packaging, installing, and launching web apps in the command line environment. The CLI allows you to develop and test your app without using a specific IDE.
A module that provides:
- command line to generate, package, install, run and debug webOS TV applications.
You can download the CLI from the developer site.
The ares commands can be invoked from anywhere in the file system provided the PATH has been set correctly.
On Linux and Mac OS:
$ export PATH=$PATH:<PATH_TO_CLI>/bin
For example: export PATH=$PATH:/Users/ares/GIT/CLI/bin
On Windows (cmd.exe):
> SET PATH=%PATH%;<PATH_TO_CLI>\bin
For example: > SET PATH=%PATH%;C:\Users\ares\GIT\CLI\bin
For more information, refer to the developer site.
$ ares-generate -l
$ ares-generate -t basic -p id=com.myapp -p version=1.2.3 -p title=MyApp MyApp
$ ares-package MyApp
$ ares-install --list
$ ares-install com.myapp_1.0.0_all.ipk
$ ares-install --remove com.myapp
$ ares-launch com.myapp
The source code of this module is organized as follow:
bin
: This directory contains the .sh and .cmd wrappers for the ares commandslib
: This directory contains the javascript code used by the server side Ares plugin and the ares commands.files
: This directory contains profile configuration files, help files and project templates.tests
: This directory contains various tests for CLI.
Whether there are one or several Emulator images, TCP Ports Redirections remain the same:
Name | Host Port |
---|---|
ssh | 6622 |
web-inspector | 9998 |
remote control | 19001 |