moor 0.6.0

Build software with an AI agent inside a locked-down container
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use anyhow::Result;

/// `moor studio` — the console over every project at once. Thin: the
/// console itself is `crate::studio`, and the project list comes from the
/// same on-disk enumeration `moor status` uses.
pub fn run(only: Option<String>) -> Result<()> {
    let names = match only {
        Some(name) => {
            crate::manifest::validate_name(&name)?;
            vec![name]
        }
        None => crate::paths::all_project_names()?,
    };
    crate::studio::run(names)
}