Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
f6297ba8
Unverified
Commit
f6297ba8
authored
Oct 28, 2020
by
Bastian Köcher
Committed by
GitHub
Oct 28, 2020
Browse files
Add key subcommand (#1874)
parent
472d62fd
Pipeline
#112477
canceled with stages
in 5 minutes and 22 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
cli/src/cli.rs
View file @
f6297ba8
...
...
@@ -52,6 +52,9 @@ pub enum Subcommand {
about
=
"Benchmark runtime pallets."
)]
Benchmark
(
frame_benchmarking_cli
::
BenchmarkCmd
),
/// Key management cli utilities
Key
(
sc_cli
::
KeySubcommand
),
}
#[allow(missing_docs)]
...
...
cli/src/command.rs
View file @
f6297ba8
...
...
@@ -236,5 +236,6 @@ pub fn run() -> Result<()> {
cmd
.run
::
<
service
::
kusama_runtime
::
Block
,
service
::
KusamaExecutor
>
(
config
)
})
},
Some
(
Subcommand
::
Key
(
cmd
))
=>
cmd
.run
(),
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment