ai-workspace 0.5.0

An easy to use, opinionated tool for creating sandboxed AI workspaces
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use aiw::Cli;
use clap::CommandFactory as _;
use clap_complete::env::CompleteEnv;
use std::process::ExitCode;

fn main() -> ExitCode {
    CompleteEnv::with_factory(Cli::command)
        .completer("aiw")
        .complete();
    match Cli::run() {
        Ok(()) => ExitCode::SUCCESS,
        Err(err) => {
            eprintln!("Error: {err}");
            ExitCode::FAILURE
        }
    }
}