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