Command line interface

The command line interface documents itself with a --help option:

Usage examples

Few more usage examples:

# serve current directory
nue serve

# serve a specific directory
nue serve --root my-blog

# serve the production version (no hot-reloading)
nue serve --production

# build to production with custom settings
nue build -p --environment custom.yaml

# show production stats
nue -p stats

# show what will be built (without building)
nue build .js .ts .nue --dry-run

Build example

Here's an example output of nue build: