openlegends-server 0.3.0

OpenLegends Game Server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Parser;

#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
pub struct Argument {
    /// Server `host:port` to listen incoming connections
    /// * check also firewall rules
    #[arg(short, long)]
    pub address: String,

    /// Filepath to server identity in PKCS (PFX) format
    #[arg(short, long)]
    pub identity: String,

    /// Passphrase to unlock encrypted identity
    #[arg(short, long, default_value_t = String::new())]
    pub password: String,
}