added basic method to check syntax command input

This commit is contained in:
Schrottkatze 2023-11-18 19:46:41 +01:00
commit 3952091018
6 changed files with 251 additions and 7 deletions

11
src/args.rs Normal file
View file

@ -0,0 +1,11 @@
use std::path::PathBuf;
use clap::Parser;
#[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)]
pub struct Args {
pub text: String,
#[arg(long)]
pub debug_tokens: bool,
}