rust_llm_cli 2.1.1

Generators for rust_llm in Loco + Inertia + React apps: install, chat_ui, tool, agent, schema, provider, upgrade.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! `rust-llm`: RubyLLM's Rails generators for Loco + Inertia + React apps.

fn main() {
    let args: Vec<String> = std::env::args().skip(1).collect();
    let cwd = match std::env::current_dir() {
        Ok(dir) => dir,
        Err(e) => {
            eprintln!("cannot read the current directory: {e}");
            std::process::exit(1);
        }
    };
    std::process::exit(rust_llm_cli::run(&args, &cwd));
}