discv5_cli/request_enr/
command.rs1use clap::Args;
2
3#[derive(Args, Clone, Debug, PartialEq, Eq, PartialOrd, Ord)]
5pub struct RequestEnr {
6 #[clap(
8 short = 'm',
9 long = "multiaddr",
10 help = "The multiaddr of the node to request their ENR from"
11 )]
12 pub multiaddr: String,
13 #[clap(
15 short = 'l',
16 long = "listen-address",
17 help = "Specifies the IPv4 listening address of the server.",
18 default_value = "0.0.0.0"
19 )]
20 pub listen_address: String,
21 #[clap(
23 short = 'p',
24 long = "listen-port",
25 help = "Specifies the listening UDP port of the server.",
26 default_value = "9001"
27 )]
28 pub listen_port: u16,
29}