pub fn load_credentials_with_instance(
instance_override: Option<&str>,
) -> Result<AtlassianCredentials>Expand description
Loads Atlassian credentials, optionally overriding the instance URL.
When instance_override is Some, that URL is used verbatim (after
trailing-slash normalization) and the ATLASSIAN_INSTANCE_URL env /
settings lookup is skipped — so a caller-supplied instance (e.g.
jira create --instance) works even when no instance is configured in the
environment. ATLASSIAN_EMAIL and ATLASSIAN_API_TOKEN are still required.
When None, behaves exactly like load_credentials.