pub fn dump_ast(command: &str) -> StringExpand description
Dump the tree-sitter AST and parsed pipeline for a command string.
Returns a human-readable diagnostic string showing the raw AST tree,
the segments and operators produced by the walker, and any extracted
substitutions. Used by --dump-ast CLI flag.