trello-to-deck/src/main.rs
Paul Campbell 9e414d8947
Some checks failed
Test / build (map[name:nightly]) (push) Successful in 1m30s
Test / build (map[name:stable]) (push) Successful in 2m2s
Release Please / Release-plz (push) Failing after 18s
refactor: pass parsed Commands from main
2024-12-16 07:45:44 +00:00

12 lines
271 B
Rust

//
use clap::Parser;
use color_eyre::Result;
use trello_to_deck::{run, Commands, Ctx};
#[tokio::main]
#[cfg_attr(test, mutants::skip)]
async fn main() -> Result<()> {
color_eyre::install()?;
run(&Ctx::from(std::env::current_dir()?), &Commands::parse()).await
}