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 authored and Gavin Wood committed 2020-01-16 13:57:19 +01:00
1 parent 058e98ef34
commit 60feeb7ad6
2 files changed
+194 -16

No files matched your search

+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)?;