Skip to content

Commit

Permalink
login cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ComradeVanti committed Nov 1, 2024
1 parent 64fb43e commit 0d1e7ee
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cli/cmd-login.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 user123@mail.com`
)
.action(
withErrorLogger(log, async function (options) {
const homePath = getHomePathFromEnv(process.env);
Expand Down

0 comments on commit 0d1e7ee

Please sign in to comment.