wipe/src/main.rs
2022-04-03 16:53:21 +02:00

26 lines
593 B
Rust

use clap::Parser;
use crate::color::factory::ColorEnum;
use crate::fill::factory::FillModeEnum;
mod color;
mod char;
mod fill;
mod vec;
mod array;
mod render;
#[derive(Parser)]
#[clap(author = "Rico Riedel", version = "0.1.0", about = "Wipe your terminal with a random animation.")]
struct Args {
#[clap(short, long, help = "Add fill mode", arg_enum)]
fill: Vec<FillModeEnum>,
#[clap(short, long, help = "Add color color", arg_enum)]
pallet: Vec<ColorEnum>,
#[clap(long, default_value = ".-+%#", help = "Set chars")]
chars: String
}
fn main() {
Args::parse();
}