progenitor-cli 0.3.0

A CLI tool for generating custom code templates
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
mod cli;
mod commands;
mod generator;

use crate::cli::cli::{Cli, Commands};
use clap::Parser;

fn main() {
    let args = Cli::parse();

    match args.command {
        Commands::Create(cmd) => cmd.execute(),
        Commands::List(cmd) => cmd.execute(),
        Commands::Add(cmd) => cmd.execute(),
        Commands::Remove(cmd) => cmd.execute(),
    }
}