llldap/src/cli.rs

13 lines
401 B
Rust
Raw Normal View History

2026-09-01 15:27:28 +02:00
use argh::FromArgs;
/// Run the llldap server
#[derive(FromArgs)]
pub struct CliArgs {
2026-09-03 21:50:32 +02:00
/// address or socket to listen on for LDAP connections
#[argh(option, default = "String::from(\"127.0.0.1:3389\")")]
pub listen_ldap: String,
/// address or socket to listen on for HTTP connections
#[argh(option, default = "String::from(\"127.0.0.1:3390\")")]
pub listen_http: String,
2026-09-01 15:27:28 +02:00
}