Getting configuration from commands (#4643)

* Expose a method that allows converting RunCmd to Configuration

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP

* WIP
This commit is contained in:
Cecile Tonglet
2020-01-16 13:57:19 +01:00
committed by Gavin Wood
parent 058e98ef34
commit 60feeb7ad6
2 changed files with 194 additions and 16 deletions
+1
View File
@@ -138,6 +138,7 @@ pub fn run<I, T, E>(args: I, exit: E, version: sc_cli::VersionInfo) -> error::Re
load_spec,
&cli_args.shared_params,
&version,
None,
)?;
sc_cli::fill_import_params(&mut config, &cli_args.import_params, ServiceRoles::FULL)?;