aoc-toolkit 0.1.0-alpha.4

A toolkit for solving Advent of Code problems
Documentation
use super::commands::{auth::AuthArgs, fetch::FetchArgs, init::InitArgs, run::RunArgs};
use crate::cli::commands::browser::BrowserArgs;
use crate::cli::commands::new::NewArgs;
use crate::cli::commands::progress::ProgressArgs;
use crate::cli::commands::setup::SetupArgs;
use clap::{Parser, Subcommand};

#[derive(Debug, Parser)]
#[command(name = "aoc", version, about)]
pub struct Cli {
    #[command(subcommand)]
    pub command: Commands,
}

#[derive(Debug, Subcommand)]
pub enum Commands {
    /// Initialize a new Advent of Code project
    Init(InitArgs),

    /// Run Advent of Code solutions
    Run(RunArgs),

    /// Generate and register a new puzzle solver
    New(NewArgs),

    /// Manage Advent of Code authentication
    Auth(AuthArgs),

    /// Manage browser integration
    Browser(BrowserArgs),

    /// Set up AOC Toolkit
    Setup(SetupArgs),

    /// Fetch puzzle inputs into the global cache
    Fetch(FetchArgs),

    /// Read or synchronize verified Advent of Code stars
    Progress(ProgressArgs),
}