Usage: ${command} [OPTION...] APP_DIR
Generate Palm application files in APP_DIR using a template.

Options:
-f, --overwrite             # overwrite existing files
-l, --list                  # list the available templates
-p, --property=PROPERTY     # set the property PROPERTY
-t, --template=TEMPLATE     # use the template named TEMPLATE
    --version               # display version info and exit
    --help                  # display this help and exit

APP_DIR is the application directory. It will be created if it does not exist.

PROPERTY defines properties to be used during generation. It is specified as a
single key-value pair of the form "key=value" or as a JSON object. Surrounding
quotes are required in both cases.

TEMPLATE is the application template to use. If not specified, the default
template is used ('new_app').

Examples:

# Create a new Palm application in ~/projects/Ticker and set the id and title.
${command} -p "id=com.example.ticker" -p "title=Stock Ticker" ~/projects/Ticker

# Create a new Palm application in ~/projects/Hello and set the id, version,
# vendor and title.
${command} -p "{id:com.mystuff.hello, version:'2.1', vendor:'My Stuff', title:'Hello There'}" ~/projects/Hello

# Add a new scene named "First" to the application in ~/projects/Ticker.
${command} -t new_scene -p "name=First" ~/projects/Ticker
