fn process_config(&self, mut config: Config) -> Result<Config, FrameworkError> {
        // Alter the memo for all chains to include a suffix with Hermes build details
        let web = "https://hermes.informal.systems";
        let suffix = format!("{} {} ({})", CliCmd::name(), CliCmd::version(), web);
        for ccfg in config.chains.iter_mut() {
            ccfg.memo_prefix.apply_suffix(&suffix);
        }

        match self {
            CliCmd::Tx(cmd) => cmd.override_config(config),
            // CliCmd::Help(cmd) => cmd.override_config(config),
            // CliCmd::Keys(cmd) => cmd.override_config(config),
            // CliCmd::Create(cmd) => cmd.override_config(config),
            // CliCmd::Update(cmd) => cmd.override_config(config),
            // CliCmd::Upgrade(cmd) => cmd.override_config(config),
            // CliCmd::Start(cmd) => cmd.override_config(config),
            // CliCmd::StartMulti(cmd) => cmd.override_config(config),
            // CliCmd::Query(cmd) => cmd.override_config(config),
            // CliCmd::Listen(cmd) => cmd.override_config(config),
            // CliCmd::Misbehaviour(cmd) => cmd.override_config(config),
            // CliCmd::Version(cmd) => cmd.override_config(config),
            _ => Ok(config),
        }
    }
/// Apply changes to the config after it's been loaded, e.g. overriding
/// values in a config file using command-line options.
///
/// This can be safely deleted if you don't want to override config
/// settings from command-line options.
Apply changes to the config after it's been loaded, e.g. overriding
values in a config file using command-line options.

This can be safely deleted if you don't want to override config
settings from command-line options.
Apply changes to the config after it ' s been loaded e . g . overriding values in a config file using command - line options . This can be safely deleted if you don ' t want to override config settings from command - line options .
fn process_config(&self, mut config: Config) -> Result<Config, FrameworkError> {
        // Alter the memo for all chains to include a suffix with Hermes build details
        let web = "https://hermes.informal.systems";
        let suffix = format!("{} {} ({})", CliCmd::name(), CliCmd::version(), web);
        for ccfg in config.chains.iter_mut() {
            ccfg.memo_prefix.apply_suffix(&suffix);
        }
        match self {
            CliCmd::Tx(cmd) => cmd.override_config(config),
            // CliCmd::Help(cmd) => cmd.override_config(config),
            // CliCmd::Keys(cmd) => cmd.override_config(config),
            // CliCmd::Create(cmd) => cmd.override_config(config),
            // CliCmd::Update(cmd) => cmd.override_config(config),
            // CliCmd::Upgrade(cmd) => cmd.override_config(config),
            // CliCmd::Start(cmd) => cmd.override_config(config),
            // CliCmd::StartMulti(cmd) => cmd.override_config(config),
            // CliCmd::Query(cmd) => cmd.override_config(config),
            // CliCmd::Listen(cmd) => cmd.override_config(config),
            // CliCmd::Misbehaviour(cmd) => cmd.override_config(config),
            // CliCmd::Version(cmd) => cmd.override_config(config),
            _ => Ok(config),
        }
    }
fn process_config ( & self , mut config : Config ) -> Result < Config , FrameworkError > { // Alter the memo for all chains to include a suffix with Hermes build details let web = " " ; let suffix = format ! ( " " CliCmd name ( ) CliCmd version ( ) web ) ; for ccfg in config . chains . iter_mut ( ) { ccfg . memo_prefix . apply_suffix ( & suffix ) ; } match self { CliCmd :: Tx ( cmd ) => cmd . override_config ( config ) , // CliCmd::Help(cmd) => cmd.override_config(config), // CliCmd::Keys(cmd) => cmd.override_config(config), // CliCmd::Create(cmd) => cmd.override_config(config), // CliCmd::Update(cmd) => cmd.override_config(config), // CliCmd::Upgrade(cmd) => cmd.override_config(config), // CliCmd::Start(cmd) => cmd.override_config(config), // CliCmd::StartMulti(cmd) => cmd.override_config(config), // CliCmd::Query(cmd) => cmd.override_config(config), // CliCmd::Listen(cmd) => cmd.override_config(config), // CliCmd::Misbehaviour(cmd) => cmd.override_config(config), // CliCmd::Version(cmd) => cmd.override_config(config), _ => Ok ( config ) , } }
Apply changes to the config after it's been loaded, e.g.
Apply changes to the config after it ' s been loaded e . g .
&self
config
Config
&self
config
Config