boxxy 0.14.0

Linkable sandbox explorer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use boxxy::shprintln;

fn example(sh: &mut boxxy::Shell, args: Vec<String>) -> boxxy::Result<()> {
    shprintln!(sh, "The world is your oyster! {:?}", args);
    Ok(())
}

fn main() {
    env_logger::init();

    let toolbox = boxxy::Toolbox::new().with(vec![("example", example)]);
    boxxy::Shell::new(toolbox).run()
}