acr-cli-0.2.1 is not a library.
acr
AtCoder competitive programming CLI tool for Rust.
Install
Setup
Usage
# From a problem directory
# From anywhere in a contest workspace
# Session management
# Configuration
Workspace Structure
acr new abc001 generates:
abc001/
├── Cargo.toml # [workspace]
├── a/
│ ├── Cargo.toml
│ ├── src/main.rs # Generated from template
│ └── tests/
│ ├── 1.in
│ └── 1.out
├── b/
│ └── ...
Configuration
Config files are stored in ~/.config/acr/:
config.toml- Editor and browser settingstemplate.rs- Source code templatesession.json- Login session
Template
acr init creates a default template at ~/.config/acr/template.rs:
use input;
Edit this file to customize the boilerplate generated for each problem.
License
MIT