Skip to main content

run

Function run 

Source
pub async fn run(options: &Options) -> Result<RunOutcome, AuthError>
Expand description

Executes authentication and updates .npmrc and .yarnrc.yml configuration files.

§Arguments

  • options - Parameters controlling file paths, tokens, and domain restrictions.

§Errors

Returns AuthError if authentication fails, files cannot be read/written, or no Artifact Registry configuration is discovered.