Docs/CLI Commands

init

assrt init scaffolds a new Assrt project in the current directory. It creates a config file, a tests directory, and an example test so you can verify your install before writing anything real.

Usage

bash
assrt init [options]

What it creates

text
./assrt.config.yaml
./tests/example.yaml
./.gitignore        # amended to ignore assrt-results/

Options

FieldTypeDescription
--project <name>stringProject identifier written to the config file.
--tests-dir <path>stringWhere tests will live. Defaults to ./tests.
--forcebooleanOverwrite an existing config file instead of aborting.