Skip to content

new_feature.shell_commands

new_feature.shell_commands

Bounded shell parsing for advisory guards, without evaluating shell code.

commands_with_cwd(command: str, *, cwd: Path) -> list[tuple[Path, list[str]]]

Return commands with inferred directories, or no candidates for unsupported syntax.