13 lines
219 B
Rust
13 lines
219 B
Rust
use clap::Parser;
|
|
|
|
#[derive(Parser, Debug)]
|
|
#[command(name = "app")]
|
|
#[command(version)]
|
|
pub struct ServerArgs {
|
|
#[arg(long, short)]
|
|
pub bind: Option<String>,
|
|
|
|
#[arg(long)]
|
|
pub workers: Option<usize>,
|
|
}
|