CLI options
Global options and flags available for Maizzle CLI commands.Global options
These options are available for multiple CLI commands.—bin
Specify the path to Maizzle’s executable. Short:-b
Available in: serve, build
Example:
—config
Specify the path to a config file to use. Short:-c
Available in: serve, build
Example:
The config file path takes precedence over the
[env] argument. For example, if you run maizzle serve production --config /path/to/dev.config.js, the dev.config.js file will be used even though production is passed.serve options
Options specific to theserve command.
—port
Specify a port number to run the server on. Short:-p
Default: 3000
Example:
maizzle serve will start on port 3000.
build options
Options specific to thebuild command.
—summary
Show a summary of the build process with file sizes and build times. Short:-s
Example:
- File name
- Compiled file size
- Build time for each template
- Total build time
make:config options
Options specific to themake:config command.
—full
Scaffold a full config instead of a minimal one. Short:-f
Example:
--full to generate a config file with all available options.