We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35dbc6d commit d6f2cdeCopy full SHA for d6f2cde
bin/node-template/node/src/cli.rs
@@ -12,6 +12,8 @@ pub struct Cli {
12
13
#[derive(Debug, StructOpt)]
14
pub enum Subcommand {
15
+ /// Key management cli utilities
16
+ Key(sc_cli::KeySubcommand),
17
/// Build a chain specification.
18
BuildSpec(sc_cli::BuildSpecCmd),
19
bin/node-template/node/src/command.rs
@@ -66,6 +66,7 @@ pub fn run() -> sc_cli::Result<()> {
66
let cli = Cli::from_args();
67
68
match &cli.subcommand {
69
+ Some(Subcommand::Key(cmd)) => cmd.run(),
70
Some(Subcommand::BuildSpec(cmd)) => {
71
let runner = cli.create_runner(cmd)?;
72
runner.sync_run(|config| cmd.run(config.chain_spec, config.network))
0 commit comments