atcoder-kit 0.2.0

A command-line tool for AtCoder like acc and oj.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod application;
mod cli;
mod client;
mod logger;
mod network;
mod validation;
mod workspace;

use anyhow::{Context, Result};

pub(crate) const APP_NAME: &str = "atcoder-kit";

pub async fn run() -> Result<()> {
    logger::init_logger();
    let start_path = std::env::current_dir().context("Failed to get current directory.")?;
    let application = application::Application::new(start_path);
    cli::dispatch(cli::parse(), &application).await
}