use clap::Parser;
use clap::ValueHint;
#[derive(Parser, Debug, Clone)]
#[command(
author,
version,
about = "A simple Lisp-like language built with Rust",
long_about = "A simple Lisp-like language built with Rust. It is a toy language and is not meant to be used in production, but it features JIT and AOT compilation with LLVM"
)]
pub struct Args {
#[clap(value_name = "FILE", value_hint = ValueHint::FilePath)]
pub file: String,
#[clap(short = 'O', long, default_value = "1")]
pub optimization_level: u8,
#[clap(short, long)]
pub interpret: bool,
#[clap(short, long, action = clap::ArgAction::Count)]
pub verbose: u8,
#[clap(short = 'o', long, default_value = "main")]
pub executable_name: String,
#[clap(long)]
pub jit: bool,
}