From bbf7fc8d0bf76d5ef84544b196baecb7370841f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20K=C3=B6cher?= Date: Wed, 28 Oct 2020 17:42:03 +0100 Subject: [PATCH] Add key subcommand (#1874) --- polkadot/cli/src/cli.rs | 3 +++ polkadot/cli/src/command.rs | 1 + 2 files changed, 4 insertions(+) diff --git a/polkadot/cli/src/cli.rs b/polkadot/cli/src/cli.rs index 6ac718fc8b..bf9c7a242b 100644 --- a/polkadot/cli/src/cli.rs +++ b/polkadot/cli/src/cli.rs @@ -52,6 +52,9 @@ pub enum Subcommand { about = "Benchmark runtime pallets." )] Benchmark(frame_benchmarking_cli::BenchmarkCmd), + + /// Key management cli utilities + Key(sc_cli::KeySubcommand), } #[allow(missing_docs)] diff --git a/polkadot/cli/src/command.rs b/polkadot/cli/src/command.rs index 9eb9c4e055..4de5d4c228 100644 --- a/polkadot/cli/src/command.rs +++ b/polkadot/cli/src/command.rs @@ -236,5 +236,6 @@ pub fn run() -> Result<()> { cmd.run::(config) }) }, + Some(Subcommand::Key(cmd)) => cmd.run(), } }