1pub mod environment;
2pub mod executor;
3pub mod mcp_server;
4pub mod parser;
5pub mod validator;
6
7use std::collections::HashMap;
8
9#[derive(Debug, Clone, PartialEq)]
10pub struct Justfile {
11 pub recipes: Vec<Recipe>,
12 pub variables: HashMap<String, String>,
13}
14
15#[derive(Debug, Clone, PartialEq)]
16pub struct Recipe {
17 pub name: String,
18 pub parameters: Vec<Parameter>,
19 pub documentation: Option<String>,
20 pub body: String,
21 pub dependencies: Vec<String>,
22}
23
24#[derive(Debug, Clone, PartialEq)]
25pub struct Parameter {
26 pub name: String,
27 pub default_value: Option<String>,
28}