aors 0.1.0

Useful rs tools for Advent of Code
Documentation
1
2
3
4
5
6
7
8
use std::{error::Error, process::Command};

pub fn init() -> Result<(), Box<dyn Error>> {
    Command::new("cargo").args(&["init"]).output()?;
    std::fs::remove_file("src/main.rs")?;
    Command::new("cargo").args(&["add", "aors"]).output()?;
    Ok(())
}