feat!: allow executing code after loading script
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
Reference in New Issue
Block a user