qb 0.3.0-alpha.2

EMACS for Kubernetes — a powerful, extensible terminal UI for managing Kubernetes clusters
use {
    anyhow::Result,
    clap::Parser,
};

mod args;
mod k8s;
mod portforward;
mod tui;

#[tokio::main]
async fn main() -> Result<()> {
    let cli = args::Cli::parse();
    match cli.command {
        | Some(args::Command::Version) => {
            println!("qb {}", env!("CARGO_PKG_VERSION"));
        },
        | None => {
            tui::run(None, None, None, cli.experimental).await?;
        },
    }
    Ok(())
}