webOS CLI Introduction

webOS 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.

Features

With the webOS CLI, you can install your apps on a target device, such as the simulator, emulator, or webOS TV device. Besides, you can retrieve, run, terminate, and remove the apps installed on the target device. You can use the CLI during any of the following stages of the development process:

The development process with the CLI

Commands

The following table shows the commands you could use:

CommandsDescriptions
aresProvides the help menu for using the ares commands
ares-configConfigures webOS CLI.
ares-generateCreates a web app from a template.
ares-packageCreates and analyses an app package file.
ares-setup-deviceManages the target devices.
ares-installInstalls an app on the target device.
ares-launchLaunches or terminates the web app.
ares-inspectEnables Web Inspector or Node's Inspector for debugging web apps or JS services.
ares-serverRuns the Web server for testing local app files.
ares-novacomCommand Line Tool to control the device.
ares-device

Retrieves a device's system information and monitors the device's resource usage.

No Headings