pub fn logout(provider: Option<&str>) -> Result<bool>
Logout a provider by removing its credential from auth.json. If provider is None, clears all credentials. Returns true if something was actually removed.
provider
None