diff --git a/polkadot-parachains/src/cli.rs b/polkadot-parachains/src/cli.rs index 20ec95676d9..0b4bf720323 100644 --- a/polkadot-parachains/src/cli.rs +++ b/polkadot-parachains/src/cli.rs @@ -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 diff --git a/polkadot-parachains/src/command.rs b/polkadot-parachains/src/command.rs index 5a238287e54..753f1bbc5df 100644 --- a/polkadot-parachains/src/command.rs +++ b/polkadot-parachains/src/command.rs @@ -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())?;