init
Create a Viteval setup in the current project. Requires a package.json.
Existing files and Viteval configuration are preserved.
Usage
Options
Prefer the --create-env-file alias with a custom path to avoid Node's runtime
--env-file option. Absolute and relative paths target the same file when created
and loaded by the generated config module.
Generated files
JSON storage and optional environment loading live in the generated config. No Vitest config, setup module, or reporter is required. In noninteractive environments, the command creates configuration without an env-file prompt.
Examples
For the installation and first-run walkthrough, see Getting started.