cargo-advent 0.2.0

Yet another cli to help with Advent of Code challenges
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::functions::generate_project::GenerateProjectError;
use thiserror::Error;

pub mod context;
pub mod functions;

pub type AdventResult<T> = Result<T, AdventError>;

#[derive(Debug, Error)]
pub enum AdventError {
    #[error(transparent)]
    GenerateProjectError(#[from] GenerateProjectError),
    #[error(".env file exists but could not be read: {0}")]
    EnvLoadError(String),
}