pub fn parse_usages(stdout: &[u8], stderr: &[u8]) -> Vec<String>Expand description
Parse “usage” blocks from stdout/stderr.
Strategy:
- Combine stdout and stderr lines.
- Find all lines where “usage” appears (case-insensitive), or line starts with “usage”.
- For each such line, capture N lines before and after.
This is intentionally simple and heuristic.