mirror of
https://github.com/ALEZ-DEV/Babylonia-terminal.git
synced 2025-12-17 18:08:50 +00:00
24 lines
740 B
Rust
24 lines
740 B
Rust
use clap::Parser;
|
|
|
|
#[derive(Parser, Debug)]
|
|
#[command(author, version, about, long_about = None)]
|
|
pub struct Args {
|
|
/// Pass launch options to tinker the behavior of the game, this parameter have priotiy over the
|
|
/// --set-options param
|
|
#[arg(long)]
|
|
pub options: Option<String>,
|
|
|
|
/// Set to the config launch options to tinker the behavior of the game, you need to run this
|
|
/// command one time to set your launch options to the configuration
|
|
#[arg(long)]
|
|
pub set_options: Option<String>,
|
|
|
|
/// Show the logs direcly to the stdout of your terminal
|
|
#[arg(long, default_value = "false")]
|
|
pub logs: bool,
|
|
|
|
/// Launch the GUI version
|
|
#[arg(long, default_value = "false")]
|
|
pub gui: bool,
|
|
}
|