ref:86bd78c7a871596608756b116569410769c6a167

feat: register requirement CLI commands + add status subcommand

- Register requirement module in mod.rs (was implemented but dormant) - Add output::error() function for red error messages - Add `anvil requirement status` subcommand: - Shows coverage summary (covered/partial/uncovered/no_tests) - Default mode: exits 1 if any uncovered requirements - --strict mode: exits 1 if any partial or no_tests too - Lists failing requirements with IDs and titles Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
SHA: 86bd78c7a871596608756b116569410769c6a167
Author: Cole Christensen <cole.christensen@macmillan.com>
Date: 2026-03-18 19:10
Parents: b6b7e9c
3 files changed +924 -0
Type
src/output.rs +5 −0
@@ -20,6 +20,11 @@
eprintln!("{} {msg}", "!".yellow().bold());
}
/// Print an error message.
pub fn error(msg: &str) {
eprintln!(" {} {}", "✗".red().bold(), msg.red());
}
/// Print an info message.
pub fn info(msg: &str) {
println!("{} {msg}", "·".blue());