Last Updated: April 2026
yamlr init
Project Initialization
Scaffolds a new .yamlr.yaml configuration file in the current directory.
Usage
bashyamlr init
Options
--force: Overwrite existing.yamlr.yamlfile.--output FORMAT: Report format (text, json).
Description
- Detects if a
.yamlr.yamlalready exists. - Detects connected Kubernetes cluster version (if
kubectlis available) and presetscluster_version. - Writes a commented default configuration file.
Examples
bashcd my-repo yamlr init