Skip to content

Commit

Permalink
Merge pull request #194 from chouchouji/docs-readme
Browse files Browse the repository at this point in the history
docs: typo and add missing current option in readme
  • Loading branch information
iosh authored Nov 23, 2024
2 parents b54c249 + aafee0e commit 04dbe9d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ Usage: nrm [options] [command]
ls List all the registries
current Show current registry name
-u --show-url Show the registry URL instead of the name
use <registry> Change registry to registry
add <registry> <url> [home] Add one custom registry
login <registry> [value] Set authorize information for a registry with a base64 encoded string or username and pasword
login <registry> [value] Set authorize information for a registry with a base64 encoded string or username and password
-a --always-auth Set is always auth
-u --username <username> Your user name for this registry
-p --password <password> Your password for this registry
Expand All @@ -59,8 +60,8 @@ Usage: nrm [options] [command]
set-scope <scopeName> <value> Associating a scope with a registry
del-scope <scopeName> Remove a scope
set <registryName> Set custom registry attribute
-a --attr <attr> Set custorm registry attribute
-v --value <value> Set custorm registry value
-a --attr <attr> Set custom registry attribute
-v --value <value> Set custom registry value
del <registry> Delete one custom registry
rename <registryName> <newName> Set custom registry name
home <registry> [browser] Open the homepage of registry with optional browser
Expand Down Expand Up @@ -97,7 +98,7 @@ Usage: nrm [options] [command]
## Notice

When you are using preset registries the `publish` command will proxy to the npm official registry.
When you are using a custom registry you will need to run the `set-hosted-repo` to set a url to publish pacakges to your hosted registry.
When you are using a custom registry you will need to run the `set-hosted-repo` to set a url to publish packages to your hosted registry.

## Maintainer is wanted

Expand Down

0 comments on commit 04dbe9d

Please sign in to comment.