Usage: ${command} [OPTION...] [APP_ID]
Launch applications on a Palm device.

Options:
-c, --close                 # close running applications instead of launching
-d, --device=DEVICE         # specify DEVICE to use
-f, --relaunch              # relaunch app (close and reopen)
-i, --inspect               # inspect the application
-l, --list                  # list the installed applications
-p, --params=PARAMS         # set the launch parameters to PARAMS
    --version               # display version info
    --help                  # display this help and exit

APP_ID is the id of the application to launch (or close).

DEVICE is a unique device id, "usb" for any usb-connected device, or "tcp" for
the emulator (must be running). If not specified, the first device found is used.

PARAMS defines configuration parameters to be passed when launching an
application. It is specified as a key-value pair of the form "key:value" or
as a JSON object. Surrounding quotes are required in both cases.

Examples:

# Launch application
${command} com.example.app

# Launch application with debugging options
${command} -p "{mojoConfig:true, debuggingEnabled:true}" com.example.app

# Launch and inspect application
${command} -i com.example.app

# Close application
${command} -c com.example.app

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

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

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