Add key subcommand (#1874)

This commit is contained in:
Bastian Köcher
2020-10-28 17:42:03 +01:00
committed by GitHub
parent 1928656361
commit bbf7fc8d0b
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -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)]
+1
View File
@@ -236,5 +236,6 @@ pub fn run() -> Result<()> {
cmd.run::<service::kusama_runtime::Block, service::KusamaExecutor>(config)
})
},
Some(Subcommand::Key(cmd)) => cmd.run(),
}
}