registry removeLast updated on
Last updated on
Remove a registry configuration
Remove a registry configuration.
Usage
asterdoc registry remove [namespace] [options]
asterdoc registry rm [namespace] [options]Arguments
| Argument | Description |
|---|---|
namespace | Registry namespace to remove (optional; prompts for a selection if omitted) |
Options
| Option | Description |
|---|---|
--global | Remove from global config (~/.asterdoc/config.json) |
--project | Remove from project config (asterdoc.json) |
Description
Removes a registry from your configuration. Without a namespace, the command lists registries and lets you select one or more to remove. With --global, the list holds only the registries in the global config; with --project, only those in asterdoc.json. With neither, it lists every registry in effect.
With a namespace, if neither --global nor --project is specified, you will be prompted to choose. When not in a project directory, defaults to global config.
Examples
asterdoc registry remove @acme
asterdoc registry rm @acme --global
asterdoc registry remove
asterdoc registry remove --globalSee also
- registry add - Add a registry
- registry list - List configured registries