feat!: allow executing code after loading script

This commit is contained in:
2025-03-10 19:03:12 -04:00
parent 31e962fb9f
commit 5c052de95d
3 changed files with 11 additions and 3 deletions

View File

@@ -6,7 +6,11 @@ use std::path::PathBuf;
#[derive(Parser)]
#[command(version = build_info::version_formatted())]
pub struct Arguments {
/// Path to main Lua file
/// Path to Lua entrypoint
#[arg(short, long)]
pub script: Option<PathBuf>,
/// Code to execute after loading script
#[arg(short, long)]
pub exec: Option<String>,
}