Usage: ${command} [OPTION...] APP_DIR
Create a Palm package for the application in APP_DIR.

Options:
    --check                 # check the application but don't package it
-o, --outdir=OUTPUT_DIR     # use OUTPUT_DIR as the output directory
    --exclude=PATTERN       # exclude files, given as a PATTERN
-X, --exclude-from=PATFILE  # exclude patterns listed in PATFILE
    --ignore-case           # ignore case when matching names
    --no-exclude-eclipse    # don't exclude Eclipse meta-data
    --no-exclude-hidden     # don't exclude hidden files
    --no-exclude-vcs        # don't exclude version control meta-data
    --version               # display version info and exit
    --help                  # display this help and exit

APP_DIR is the application directory. It must exist and contain a valid Palm
application.

OUTPUT_DIR is the output directory where the package will be created. If not
specified, the current directory is used.

PATTERN is a name-matching string which may contain the wildcards * and ?.
Matching is case-sensitive unless the --ignore-case option is used.

PATFILE is a text file with one PATTERN per line.
Matching is case-sensitive unless the --ignore-case option is used.

By default, ${command} will exclude meta-data files used by Eclipse plugins.
Use the --no-exclude-eclipse option to include these files.

By default, ${command} will exclude hidden files.
Use the --no-exclude-hidden option to include these files.

By default, ${command} will exclude meta-data files used by following version
control systems: CVS, RCS, SCCS, SVN, Arch, Bazaar, Mercurial, and Darcs.
Use the --no-exclude-vcs option to include these files.

Note: The filename of the newly created package will be derived from the id
and version properties in the application's appinfo.json file.

Examples:

# Create a package for the Palm application in ~/projects/Ticker.
${command} ~/projects/Ticker

# Create a package for the Palm application in ~/projects/Ticker and set the
output directory to ~/packages.
${command} -o ~/packages ~/projects/Ticker

# Create a package for the Palm application in ~/projects/Ticker. Exclude all
text files and the tests directory.
${command} --exclude="*.txt" --exclude="tests" ~/projects/Ticker
