registry remove

Last updated on

Remove a registry configuration

Remove a registry configuration.

Usage

asterdoc registry remove [namespace] [options]
asterdoc registry rm [namespace] [options]

Arguments

ArgumentDescription
namespaceRegistry namespace to remove (optional; prompts for a selection if omitted)

Options

OptionDescription
--globalRemove from global config (~/.asterdoc/config.json)
--projectRemove 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 --global

See also

On this page