NpmAddUserSettingsExtensions.

ForRegistry(NpmAddUserSettings, Uri) Method

Summary

Instructs npm to add user for the given registry.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.AddUser
Containing Type
NpmAddUserSettingsExtensions

Syntax

public static NpmAddUserSettings ForRegistry(this NpmAddUserSettings settings, Uri registry)

Parameters

Name Type Description
settings NpmAddUserSettings The settings.
registry Uri The registry for the user.

Return Value

Type Description
NpmAddUserSettings The settings instance with Registry set to registry.