linesmith 0.1.2

A Rust status line for Claude Code and other AI coding CLIs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use std::io;
use std::process::ExitCode;

fn main() -> ExitCode {
    let env = linesmith::CliEnv::from_process();
    let code = linesmith::cli_main(
        std::env::args_os().skip(1),
        io::stdin().lock(),
        &mut io::stdout().lock(),
        &mut io::stderr().lock(),
        &env,
    );
    ExitCode::from(code)
}