2024-11-29 14:15:32 +00:00
|
|
|
//
|
2024-12-15 20:07:34 +00:00
|
|
|
use clap::Parser;
|
2024-11-29 14:31:40 +00:00
|
|
|
use color_eyre::Result;
|
2024-11-29 14:15:32 +00:00
|
|
|
|
2024-12-15 20:07:34 +00:00
|
|
|
use trello_to_deck::{run, Commands, Ctx};
|
2024-11-29 14:31:40 +00:00
|
|
|
|
2024-11-29 14:31:40 +00:00
|
|
|
#[tokio::main]
|
2024-11-29 14:15:32 +00:00
|
|
|
#[cfg_attr(test, mutants::skip)]
|
2024-11-29 14:31:40 +00:00
|
|
|
async fn main() -> Result<()> {
|
2024-12-16 07:12:05 +00:00
|
|
|
color_eyre::install()?;
|
2024-12-15 20:07:34 +00:00
|
|
|
run(&Ctx::from(std::env::current_dir()?), &Commands::parse()).await
|
2024-11-29 13:50:34 +00:00
|
|
|
}
|