feat: finalize search UX and release hardening

This commit is contained in:
stoorps 2026-03-21 16:53:33 +00:00
parent c63b2917da
commit 34f9543a78
Signed by: stoorps
SSH key fingerprint: SHA256:AZlPfu9hTu042EGtZElmDQoy+KvMOeShLDan/fYLoNI
44 changed files with 4983 additions and 94 deletions

View file

@ -1,9 +1,17 @@
fn main() {
let config = match aim_cli::config::load() {
Ok(config) => config,
Err(error) => {
eprintln!("{error}");
std::process::exit(1);
}
};
let cli = aim_cli::parse();
let mut reporter = aim_cli::ui::progress::TerminalProgressReporter::stderr();
match aim_cli::dispatch_with_reporter(cli, &mut reporter) {
Ok(result) => {
let output = aim_cli::render(&result);
let output = aim_cli::render_with_config(&result, &config);
if !output.is_empty() {
println!("{output}");
}