diff --git a/bolt-cli/src/cli.rs b/bolt-cli/src/cli.rs index f3465f0e0..1b152126f 100644 --- a/bolt-cli/src/cli.rs +++ b/bolt-cli/src/cli.rs @@ -52,6 +52,7 @@ pub enum Commands { /// The action to perform. #[derive(Debug, Clone, ValueEnum, Deserialize)] +#[clap(rename_all = "kebab_case")] pub enum Action { /// Create a delegation message. Delegate, diff --git a/bolt-cli/src/main.rs b/bolt-cli/src/main.rs index 074e38f06..fd72bbab4 100644 --- a/bolt-cli/src/main.rs +++ b/bolt-cli/src/main.rs @@ -55,7 +55,7 @@ async fn main() -> Result<()> { println!("Signed delegation messages generated and saved to {}", out); } KeySource::Dirk { opts } => { - let dirk = Dirk::connect(opts.url, opts.tls_credentials).await?; + let _dirk = Dirk::connect(opts.url, opts.tls_credentials).await?; todo!("generate delegations from dirk"); } diff --git a/bolt-cli/test_data/README.md b/bolt-cli/test_data/README.md index fc94ba753..e1e4fd7ff 100644 --- a/bolt-cli/test_data/README.md +++ b/bolt-cli/test_data/README.md @@ -1,7 +1,11 @@ # test data for the bolt cli tool -- `lighthouse`: A lighthouse-format keystore according to the [specs][lh-specs]. +- [`lighthouse`](./lighthouse/): A lighthouse-format keystore according to the [specs][lh-specs]. It contains two directories: `validators` for the voting-keystores, and `secrets` for the passwords needed to decrypt the keypairs. +- [`dirk`](./dirk/): A directory containing test TLS certificates and keys for authenticating a test [Dirk][dirk] + server on localhost. The certificates are self-signed for test purposes and are not to be used in production. + [lh-specs]: https://lighthouse-book.sigmaprime.io/validator-management.html#automatic-validator-discovery +[dirk]: https://github.com/attestantio/dirk