11 lines
272 B
Rust
11 lines
272 B
Rust
use clap::Parser;
|
|
|
|
#[derive(Parser, Debug)]
|
|
#[command(name = "git-hook")]
|
|
#[command(version)]
|
|
pub struct HookArgs {
|
|
/// Worker ID for this instance. Defaults to the HOOK_POOL_WORKER_ID env var or a generated UUID.
|
|
#[arg(long)]
|
|
pub worker_id: Option<String>,
|
|
}
|