Skip to main content

Module parser

Module parser 

Source
Expand description

Workflow YAML parser — loads workflow definitions from ~/.mur/workflows/*.yaml.

Structs§

StepYaml
Raw YAML representation of a step.
WorkflowYaml
Raw YAML representation of a workflow (deserialization target).

Functions§

list_workflow_files
List all workflow YAML files in the workflows directory.
load_all_workflows
Load all workflows from the default directory.
parse_workflow_file
Parse a single workflow YAML file.
parse_workflow_str
Parse a workflow from a YAML string.
resolve_variables
Resolve {{variable}} placeholders in a string.
step_yaml_to_step
Convert a StepYaml into a Step.
workflows_dir
Get the default workflows directory.