NpmAddUserSettingsExtensions.

ForScope(NpmAddUserSettings, string) Method

Summary

Sets scope for credentials.
Assembly
Cake.Npm.dll
Namespace
Cake.Npm.AddUser
Containing Type
NpmAddUserSettingsExtensions

Syntax

public static NpmAddUserSettings ForScope(this NpmAddUserSettings settings, string scope)

Parameters

Name Type Description
settings NpmAddUserSettings The settings.
scope string Scope of credentials. Scope must start with an @.

Return Value

Type Description
NpmAddUserSettings The settings instance with scope added to Scope.