Added Key in subcommand (#651)

* Added Key in subcommand

* Update command.rs

Co-authored-by: Ayush <>
This commit is contained in:
Ayush Mishra
2021-10-12 18:39:07 +05:30
committed by GitHub
parent 3520acc3f2
commit ee151d716c
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -54,6 +54,9 @@ pub enum Subcommand {
/// The custom benchmark subcommmand benchmarking runtime pallets.
#[structopt(name = "benchmark", about = "Benchmark runtime pallets.")]
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
/// Key management CLI utilities
Key(sc_cli::KeySubcommand),
}
/// Command for exporting the genesis state of the parachain
+1
View File
@@ -399,6 +399,7 @@ pub fn run() -> Result<()> {
You can enable it with `--features runtime-benchmarks`."
.into())
},
Some(Subcommand::Key(cmd)) => Ok(cmd.run(&cli)?),
None => {
let runner = cli.create_runner(&cli.run.normalize())?;