Add key subcommand (#1874)

This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-10-28 16:42:03 +00:00
1 parent 1928656361
commit bbf7fc8d0b
2 files changed
+4

No files matched your search

+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(),
}
}