Expand description
Auto-detection of parameterizable values in workflow exports.
When mur out exports a workflow, this module scans all text content
(step descriptions, commands, URLs) for values that should be replaced
with {{variable}} templates to make the workflow reusable.
§Detected Patterns
- URLs (http/https) →
{{base_url}},{{api_url}},{{site_url}} - File paths (absolute) →
{{project_dir}},{{output_path}} - API tokens/keys →
{{api_key}},{{auth_token}} - Email addresses →
{{email}} - Port numbers →
{{port}} - Domain names →
{{domain}} - Git repos →
{{repo_url}} - Docker images →
{{docker_image}}
Structs§
- Parameter
Suggestion - A suggestion to replace a detected value with a variable.
Enums§
- Detected
Category - Categories of auto-detected parameterizable values.
Functions§
- apply_
parameterization - Apply variable substitutions to text — replace literal values with
{{var_name}}. - detect_
parameterizable_ values - Scan text content for parameterizable values and return suggestions.
- format_
suggestions_ display - Format suggestions for display in the terminal.
- parameterize_
workflow - Apply all accepted suggestions to a workflow, replacing literal values with
{{var}}. - scan_
workflow - Scan an entire workflow for parameterizable values and return suggestions.
- suggestions_
to_ variables - Convert suggestions into workflow Variable definitions.