ralph-workflow 0.7.18

PROMPT-driven multi-agent orchestrator for git repos
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Template variable and partial extraction.
//!
//! This module re-exports imperative parsing code from the io boundary module.

pub fn extract_metadata(content: &str) -> super::template_types::TemplateMetadata {
    crate::prompts::io::extract_metadata(content)
}

pub fn extract_partials(content: &str) -> Vec<String> {
    crate::prompts::io::extract_partials(content)
}

pub fn extract_variables(content: &str) -> Vec<super::template_types::VariableInfo> {
    crate::prompts::io::extract_variables(content)
}