mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 16:57:58 +00:00
Fix CLI setup again (#4851)
* Fix CLI setup again We need to set `config_dir` and `database_path` for almost every command. This fixes `purge-chain` and also adds a test to make sure we don't break it again. * Adds missing test files * Split methods
This commit is contained in:
@@ -41,7 +41,7 @@ where
|
||||
),
|
||||
Some(Subcommand::Factory(cli_args)) => {
|
||||
sc_cli::init(&cli_args.shared_params, &version)?;
|
||||
sc_cli::load_spec(&mut config, &cli_args.shared_params, load_spec)?;
|
||||
sc_cli::init_config(&mut config, &cli_args.shared_params, &version, load_spec)?;
|
||||
sc_cli::fill_import_params(
|
||||
&mut config,
|
||||
&cli_args.import_params,
|
||||
|
||||
Reference in New Issue
Block a user