Usage: ${command} [OPTION...] [PACKAGE | APP_ID]
Install or remove applications from a Palm webOS device.

Options:
-d, --device=DEVICE     Specify DEVICE to use
    --device-list       List the available devices
-l, --list              List the installed applications
-r, --remove            Remove applications instead of installing
    --version           Display version info and exit
    --help              Display this help and exit

PACKAGE is the file path of the package to install,
e.g. ~/projects/packages/com.example.app_1.0_all.ipk.

APP_ID is the id of the application to remove.

DEVICE is a unique identifier which matches a device name, type, or id
(as returned by the device-list option). e.g. Use "usb" for a usb-connected
device, or "tcp" for an emulator (note: emulator must be running). If not
specified, the first device found is used.

Examples:

# Install package
${command} ~/projects/packages/com.example.app_1.0_all.ipk

# Remove application
${command} -r com.example.app

# List applications on default device
${command} -l

# List applications on usb device
${command} -d usb -l

# List applications on emulator
${command} -d tcp -l
