-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64fb43e
commit 0d1e7ee
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,7 +75,11 @@ export function makeLoginCmd( | |
.addOption(alwaysAuthOpt) | ||
.addOption(registryOpt) | ||
.addOption(systemUserOpt) | ||
.description("authenticate with a scoped registry") | ||
.summary("authenticate with a 3rd party registry") | ||
.description( | ||
`Authenticate with a specified 3rd party registry and stores credentials in the users \`.npmrc\`. | ||
openupm login -r https://packages.my-registry.com -u user123 -p ****** -e [email protected]` | ||
) | ||
.action( | ||
withErrorLogger(log, async function (options) { | ||
const homePath = getHomePathFromEnv(process.env); | ||
|