Files
lucisv/crates/vlog_linter/examples/rules_markdown.rs
T

11 lines
405 B
Rust

//! Prints the generated rule reference.
//!
//! `cargo run -p vlog_linter --example rules_markdown > docs/lint-rules.md`.
//! This exists because the CLI flag that will do the same (`lucisv check
//! --rules-doc`) belongs to `crates/lucisv` and is not wired yet — see the
//! Handshakes section of `docs/features/lint-rules-2/README.md`.
fn main() {
print!("{}", vlog_linter::rules_markdown());
}