pub fn hide_except(&mut self, chain_names: &[String]) {
        for network in &mut self.environment_config.networks {
            network.published = chain_names.contains(&network.name);
        }
    }
Hides all chains except those specified in the given vector.
zkstack_cli/crates/config/src/explorer.rs