mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-12-02 00:01:59 -10:00
10 lines
352 B
Rust
10 lines
352 B
Rust
#[derive(clap::Parser)]
|
|
#[clap(name = "graphite", version)]
|
|
pub struct Cli {
|
|
#[arg(help = "Files to open on startup", value_parser = |path: &str| std::path::absolute(path))]
|
|
pub files: Vec<std::path::PathBuf>,
|
|
|
|
#[arg(long, action = clap::ArgAction::SetTrue, help = "Disable hardware accelerated UI rendering")]
|
|
pub disable_ui_acceleration: bool,
|
|
}
|