~ knotless Search/
↑↓ move↵ open⇧↵ all results

johnandersen777.bsky.social/atlibs

0
0
main
8 lines · 299 B Raw History
// cargo run -p rust-compose > composition.json   (`-- <dir>`: atlibs compose check it there first)
fn main() {
    let c = rust_compose::toys();
    if let Some(dir) = std::env::args().nth(1) {
        c.check(dir.as_ref()).unwrap_or_else(|e| panic!("{e}"));
    }
    print!("{}", c.to_json());
}