| 26 | } |
| 27 | |
| 28 | #[derive(Args, Debug, Clone, PartialEq, Eq)] |
| 29 | pub struct KeyFlags { |
| 30 | /// Path to your keystore directory containing node_key.pem and consensus_key.pem |
| 31 | #[arg(long, default_value_t = String::from("~/.seismic/consensus/keys"))] |
| 32 | pub key_store_path: String, |
| 33 | #[arg(short = 'n', long, conflicts_with = "yes_overwrite")] |
| 34 | pub no_overwrite: bool, |
| 35 | #[arg(short = 'y', long, conflicts_with = "no_overwrite")] |
| 36 | pub yes_overwrite: bool, |
| 37 | } |
| 38 | |
| 39 | impl KeyFlags { |
nothing calls this directly
no outgoing calls
no test coverage detected