mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-02 14:20:34 +08:00
12 lines
280 B
Rust
12 lines
280 B
Rust
use clap::Parser;
|
|
|
|
#[derive(Parser)]
|
|
#[command(version, about, long_about = None)]
|
|
pub struct Args {
|
|
#[arg(short, long, env = "SCAN_ONLY")]
|
|
pub scan_only: bool,
|
|
|
|
#[arg(short, long, default_value = "None,bili_sync=info", env = "RUST_LOG")]
|
|
pub log_level: String,
|
|
}
|