# soupault

> A static website generator based on HTML element tree rewriting.
> It can also be used as an HTML post-processor or metadata extractor.
> More information: <https://soupault.net/reference-manual/>.

- Initialize a minimal website project in the current working directory:

`soupault --init`

- Build a website:

`soupault`

- Override default configuration file and directory locations:

`soupault --config {{config_path}} --site-dir {{input_directory}} --build-dir {{output_directory}}`

- Extract metadata into a JSON file without generating pages:

`soupault --index-only --dump-index-json {{path/to/file.json}}`

- Show the effective configuration (values from `soupault.toml` plus defaults):

`soupault --show-effective-config`
