Expand description
caproni config: configuration management commands.
Port of Go’s cmd/config package (migrate, validate, print).
Structs§
Enums§
Functions§
- report_
deprecation - Port of
config.reportDeprecation: enforces the deprecation policy for a well-formed config – a supported but non-latest version is deprecated and rejected, with guidance written tostderr, unlessallow_deprecatedis set. - run
- run_
migrate - Port of
config.runMigrate: computes the migration plan once, then either previews it (--dry-run), confirms with the user (unless--force), or writes it to disk with a.bakbackup (unless--skip-backup). - run_
print - Port of
config.runPrint: prints the fully resolved configuration (after applying all overlays) as YAML. - run_
validate - Port of
config.runValidate: loads and validates the configuration, writing failure diagnostics tostderrand success diagnostics tostdoutso they survive shell redirection of the command’s stdout.