fn config_from_default_profile() -> Result<Self, IoError> {
        let default_path = build_cli_profile_file_path(None)?;
        if Path::new(&default_path).exists() {
            Ok((ProfileFile::from_file(default_path)?).into())
        } else {
            Ok(ProfileConfig::default())
        }
    }
/// read profile config from the default profile
read profile config from the default profile
read profile config from the default profile
fn config_from_default_profile() -> Result<Self, IoError> {
        let default_path = build_cli_profile_file_path(None)?;
        if Path::new(&default_path).exists() {
            Ok((ProfileFile::from_file(default_path)?).into())
        } else {
            Ok(ProfileConfig::default())
        }
    }
fn config_from_default_profile ( ) -> Result < Self , IoError > { let default_path = build_cli_profile_file_path ( None ) ? ; if Path :: new ( & default_path ) . exists ( ) { Ok ( ( ProfileFile :: from_file ( default_path ) ? ) . into ( ) ) } else { Ok ( ProfileConfig :: default ( ) ) } }
read profile config from the default profile
read profile config from the default profile