Skip to main content

atcoder_kit/
lib.rs

1mod application;
2mod cli;
3mod client;
4mod logger;
5mod network;
6mod validation;
7mod workspace;
8
9use anyhow::{Context, Result};
10
11pub(crate) const APP_NAME: &str = "atcoder-kit";
12
13pub async fn run() -> Result<()> {
14    logger::init_logger();
15    let start_path = std::env::current_dir().context("Failed to get current directory.")?;
16    let application = application::Application::new(start_path);
17    cli::dispatch(cli::parse(), &application).await
18}