#[cfg(not(unix))]
compile_error!("Unix only");
mod desktop;
mod drun;
mod fuzzy;
mod history;
mod path_ext;
mod provider;
mod run;
mod terminal;
mod tui;
use clap::Parser;
use std::process::exit;
#[derive(Parser, Clone, Copy)]
#[command(name = "lnchr")]
#[command(about = env!("CARGO_PKG_DESCRIPTION"))]
#[command(version = env!("CARGO_PKG_VERSION"))]
pub enum Arg {
Run,
Drun,
}
fn main() {
let args = Arg::parse();
exit(match args {
Arg::Run => run::run(),
Arg::Drun => drun::drun(),
});
}