USAGE

    gluejs --include <file/dir ...> {OPTIONS}

BASIC

  --include <path>  Path to import.

  --exclude <regex> JS regular expression string to match against
                    the included paths.

  --out <path>      File to write. Default: stdout

  --global <name>   Name of the global to export. Default: "App"

  --basepath <path> Base path for the list of files. Default: process.cwd()

  --main <name>     Name of the main file/module to export. Default: index.js

REPLACE / REMAP

  --replace <expr>  Bind require("name") to an expression.
                    e.g. --replace jQuery=window.$

  --remap <expr>    Remap require("name") to another (internal) module
                    e.g. --replace "assert=require('chai').assert"

BUILD OPTIONS

  --source-url      Add source URL annotations to the files. Useful for
                    development, but note that this is not compatible with IE.

  --global-require  Export the require() implementation into the global space.

  --amd             Export the module via the require.js AMD
                    define("name", ...) using the name specified in --global.
                    Note that the requirejs will not pick up modules defined
                    like this unless you do at least one asynchronous require()
                    call.

MINIFICATION / SOURCE TRANSFORMS

  --command <cmd>   Pipe each file through a shell command and capture the
                    output (e.g. --command "uglifyjs --no-copyright").

  --transform <mod> Activates a source transformation module.

PERFORMANCE

  --cache-path <p>  Use a cache directory to store file builds. The cache
                    speeds up large builds (and minified builds) significantly
                    since only source files that have changed are updated.

  --jobs <n>        Sets the maximum level of parallelism for the task
                    execution pipeline. Default: `os.cpus().length * 2`

  --cache-method    Sets the cache method: stat | hash algorithm name.

REPORTING

  --report          Display the file size report.

  --silent          Disable all output, including the reporter.

  --verbose         More verbose output.

  --version         Version info

ADVANCED

  --reset-exclude   Advanced: do not apply the default exclusions
                    (/dist/, /example/, /benchmark/, .min.js).
