Skip to main content
Delete a microservice module and unregister it from the app module, shared module, app config, env config, docker-compose, tsconfig path aliases, and commitlint config. The app and shared modules cannot be removed, and you are asked to confirm before deletion.

Usage

ooneex microservice:remove [options]

Examples

# Interactive: prompts for the name, then confirms
ooneex microservice:remove

# Provide the name as a flag
ooneex microservice:remove --name=billing

# Run against a specific project directory
ooneex microservice:remove --name=billing --cwd=/path/to/project

Options

OptionDescriptionDefault
--nameMicroservice name to remove. Normalized to PascalCase with any trailing Module stripped; the module folder uses its kebab-case form.Prompted if omitted
--cwdProject directory the microservice is removed from.Current working directory
--silentSuppress the confirmation prompt and output.false