Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

The corrosion template command

Uses Corrosion's template engine to generate and update a local file based on a Rhai script and the latest data from Corrosion.

Specify the name of the .rhai file and the desired name for the output file.

$ corrosion template --help Usage: corrosion template [OPTIONS] [TEMPLATE]... Arguments: [TEMPLATE]... Options: -c, --config <CONFIG_PATH> Set the config file path [default: /etc/corrosion/config.toml] -o, --once --api-addr <API_ADDR> --db-path <DB_PATH> --admin-path <ADMIN_PATH> -h, --help Print help