Usage: ${command} [OPTION...] APP_DIR
Generate files for a HP webOS Mojo or Enyo application.

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. Properties can be
specified as key-value pairs of the form "key=value" or as JSON objects of the
form "{'key1':'value1', 'key2':'value2', ...}". Surrounding quotes are required
in both cases.

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

Examples:

# List the available templates
${command} -l

# Generate a "hello world" sample Mojo application in ~/projects/hello and
# set the title.
${command} -t hello_app -p "title=My First App" ~/projects/hello

# Generate a new Mojo application in ~/projects/newapp.
${command} -t new_app ~/projects/newapp

# Generate a new Mojo application in ~/projects/ticker and set the id, version,
# vendor and title.
${command} -t new_app -p "{'id':'com.example.ticker', 'version':'1.0.0', 'vendor':'My Shop', 'title':'Stock Ticker'}" ~/projects/ticker

# Generate a new Mojo scene named "first" in ~/projects/ticker.
${command} -t new_scene -p "name=first" ~/projects/ticker


# Generate a new Enyo single-pane application in ~/projects/singlepane.
${command} ~/projects/singlepane

# Generate a new Enyo split-view application in ~/projects/splitview.
${command} -t enyo_splitview ~/projects/splitview

# Generate a new Enyo application in ~/projects/multipane and set the id,
# version, vendor and title.
${command} -t enyo_multipane -p "{'id':'com.example.multipane', 'version':'1.0.0', 'vendor':'My Shop', 'title':'MultiPane'}" ~/projects/multipane

