Expand description
camel lint <file> — lint a route file with the production component
catalog.
Builds a CamelContext, registers the builtins via
crate::register_builtin_components_for_lint, obtains the runtime
metadata catalog, and runs all default lint rules over the file. Diagnostics
are rendered with ariadne to stderr. Exit codes: 0 clean, 1 any
error-severity diagnostic, 2 CLI misuse (missing/unreadable file).
Structs§
- Lint
Args - CLI args for
camel lint. - Lint
Outcome - Outcome of a lint run.
Functions§
- production_
engine - Build the production lint engine with the full builtin component catalog.
- run
- CLI entrypoint for
camel lint. - run_
lint - Run the lint engine over
pathwith the production component catalog.