pub fn parse_validation_rules(
_stdout: &str,
_stderr: &str,
options: &[OptionSpec],
arguments: &[ArgumentSpec],
) -> Vec<ValidationRule>Expand description
Parse validation rules from help text.
Extracts validation rules from descriptions, looking for patterns like:
- “must be between 1-100” (Range)
- “valid email” (Format)
- “must match pattern X” (Pattern)
- “one of: a, b, c” (Choice)