CLI Reference

veta

Shows help when called without arguments:

veta

veta init

Creates a starter project.

veta init [PATH]

Examples:

veta init
veta init my-site

Flags:

--force    overwrite starter files that already exist

veta dev

Starts the local development server with live reload.

veta dev [--config FILE]

Examples:

veta dev
veta dev --config ./veta.yaml

Host, port, and additional watched paths are configured in veta.yaml under dev.

veta build

Builds the site for production.

veta build [--config FILE]

Examples:

veta build
veta build --config ./config/veta.yaml

veta version

Prints version information.

veta version
veta --version
veta -v

Config Discovery

veta build and veta dev search from the current directory upward for:

veta.yaml
veta.yml
.veta.yaml
.veta.yml

Use --config to bypass discovery.