refactor(cli): Make some run params reusable (#13870)
* refactor: extract TelemetryParams and PrometheusParams * improve run_cmd docs * extract `RuntimeParams` * use `normalize` * keep params types same style * improve `max_runtime_instances` * fmt * add license and improve code * Update client/cli/src/params/runtime_params.rs Co-authored-by:Bastian Köcher <git@kchr.de> --------- Co-authored-by:
Bastian Köcher <git@kchr.de>
Showing
- substrate/client/cli/src/commands/run_cmd.rs 26 additions, 95 deletionssubstrate/client/cli/src/commands/run_cmd.rs
- substrate/client/cli/src/params/keystore_params.rs 1 addition, 1 deletionsubstrate/client/cli/src/params/keystore_params.rs
- substrate/client/cli/src/params/message_params.rs 2 additions, 3 deletionssubstrate/client/cli/src/params/message_params.rs
- substrate/client/cli/src/params/mod.rs 5 additions, 2 deletionssubstrate/client/cli/src/params/mod.rs
- substrate/client/cli/src/params/prometheus_params.rs 63 additions, 0 deletionssubstrate/client/cli/src/params/prometheus_params.rs
- substrate/client/cli/src/params/pruning_params.rs 1 addition, 1 deletionsubstrate/client/cli/src/params/pruning_params.rs
- substrate/client/cli/src/params/runtime_params.rs 43 additions, 0 deletionssubstrate/client/cli/src/params/runtime_params.rs
- substrate/client/cli/src/params/shared_params.rs 1 addition, 1 deletionsubstrate/client/cli/src/params/shared_params.rs
- substrate/client/cli/src/params/telemetry_params.rs 68 additions, 0 deletionssubstrate/client/cli/src/params/telemetry_params.rs
Please register or sign in to comment