Expand description
Transaction plan format parsing.
Structs§
- ForEach
- Glob-driven batch expansion: apply the same set of operations to every file matching a glob pattern, with template variable substitution.
- Format
Step - A format step to run after applying operations but before validation.
- Plan
- A transaction plan containing multiple operations to execute atomically.
- Split
Target Spec - Target file specification for
ast.split. - Validation
Step - A validation step to run after applying operations.
Enums§
- Operation
- A single operation within a plan.
- Verify
Check - A single verification check parsed from
--verifyor planverifyfield.
Constants§
- SCHEMA_
VERSION - Current plan schema version.
Functions§
- effective_
strict - Resolve effective strict mode:
--no-strict> plan field > config > default true. - expand_
for_ each - Expand a plan’s
for_eachblock: match files via glob, apply exclude/filter, substitute template variables into each operation, and flatten the result intoplan.operations. After this call,plan.for_eachisNone. - parse_
plan - Parse a plan from a JSON string.
- parse_
plan_ auto - Detect plan format from a file path extension and parse accordingly.
- parse_
plan_ toml - Parse a plan from a TOML string.
- parse_
plan_ yaml - Parse a plan from a YAML string.