difftreelog
feat add key subcommand
in: master
2 files changed
node/cli/src/cli.rsdiffbeforeafterboth27 /// Export the genesis wasm of the parachain.27 /// Export the genesis wasm of the parachain.28 ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand),28 ExportGenesisWasm(cumulus_client_cli::ExportGenesisWasmCommand),2930 /// Keys manipulation subcommand31 #[clap(subcommand)]32 Key(sc_cli::KeySubcommand),293330 /// Build a chain specification.34 /// Build a chain specification.31 BuildSpec(sc_cli::BuildSpecCmd),35 BuildSpec(sc_cli::BuildSpecCmd),node/cli/src/command.rsdiffbeforeafterboth--- a/node/cli/src/command.rs
+++ b/node/cli/src/command.rs
@@ -313,6 +313,7 @@
let cli = Cli::from_args();
match &cli.subcommand {
+ Some(Subcommand::Key(cmd)) => cmd.run(&cli),
Some(Subcommand::BuildSpec(cmd)) => {
let runner = cli.create_runner(cmd)?;
runner.sync_run(|config| cmd.run(config.chain_spec, config.network))