mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 18:41:05 +00:00
Added Key in subcommand (#651)
* Added Key in subcommand * Update command.rs Co-authored-by: Ayush <>
This commit is contained in:
@@ -54,6 +54,9 @@ pub enum Subcommand {
|
|||||||
/// The custom benchmark subcommmand benchmarking runtime pallets.
|
/// The custom benchmark subcommmand benchmarking runtime pallets.
|
||||||
#[structopt(name = "benchmark", about = "Benchmark runtime pallets.")]
|
#[structopt(name = "benchmark", about = "Benchmark runtime pallets.")]
|
||||||
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
|
Benchmark(frame_benchmarking_cli::BenchmarkCmd),
|
||||||
|
|
||||||
|
/// Key management CLI utilities
|
||||||
|
Key(sc_cli::KeySubcommand),
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Command for exporting the genesis state of the parachain
|
/// Command for exporting the genesis state of the parachain
|
||||||
|
|||||||
@@ -399,6 +399,7 @@ pub fn run() -> Result<()> {
|
|||||||
You can enable it with `--features runtime-benchmarks`."
|
You can enable it with `--features runtime-benchmarks`."
|
||||||
.into())
|
.into())
|
||||||
},
|
},
|
||||||
|
Some(Subcommand::Key(cmd)) => Ok(cmd.run(&cli)?),
|
||||||
None => {
|
None => {
|
||||||
let runner = cli.create_runner(&cli.run.normalize())?;
|
let runner = cli.create_runner(&cli.run.normalize())?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user