Function holochain::conductor::interactive::load_config_or_prompt_for_default
source · [−]pub fn load_config_or_prompt_for_default(
config_path: ConfigFilePath
) -> ConductorResult<Option<ConductorConfig>>
Expand description
If config_path is Some, attempt to load the config from that path, and return error if file not found If config_path is None, attempt to load config from default path, and offer to create config if file not found