Skip to main content

Module rewrite

Module rewrite 

Source

Structs§

ArchiveCommandRef
Metadata passed to an archived shell wrapper.
ResultPlan
ShellPlan
TransformDiagnostics

Enums§

ExecutionPlan
ResultPolicy
StatusConfidence

Functions§

contains_setup_diagnostic
Return whether output contains a diagnostic from an accepted fallible setup command.
plan_with_options
Plan shell execution and result handling using one conservative parse.
rewrite
Return a wrapper command only for a simple shell command selected by a built-in rule.
rewrite_with_archive
Return an archived wrapper command for a command selected by a built-in rule.
rewrite_with_options
Return a wrapper command using built-in and explicitly supplied compiled rule packs.
select_builtin_argv
Select a command from an already parsed argument list using built-in rules.
select_builtin_command
Parse one conservative shell command and select it using built-in rules.
select_result_plan
Select one compatible typed plan for conservative post-result reduction.
select_result_rule
Select one compatible typed rule for callers that do not need status confidence.