Skip to main content

Crate lintel_annotate

Crate lintel_annotate 

Source
Expand description

§lintel-annotate

Crates.io docs.rs GitHub License

Add schema annotations ($schema, YAML modelines, TOML schema comments) to JSON, YAML, and TOML files.

§Features

  • Automatically resolves schemas via catalog matching and lintel.toml mappings
  • Adds $schema to JSON/JSON5/JSONC, YAML modelines, and TOML :schema comments
  • Updates existing annotations with --update
  • Supports glob patterns and exclude filters

§License

Apache-2.0

Structs§

AnnotateArgs
AnnotateResult
AnnotatedFile

Functions§

annotate_args
Construct the bpaf parser for AnnotateArgs.
run
Run the annotate command.