> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ooneex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# module:remove

> Remove an existing module and unregister it from the application.

Removes an existing module from the project. It unregisters the module from `AppModule` and `SharedModule`, removes its path alias from the root `tsconfig.json` and its scope from `.commitlintrc.ts`, then deletes the `modules/<name>/` directory. The core `app` and `shared` modules cannot be removed, and a missing module is reported as an error.

## Usage

```bash theme={null}
ooneex module:remove [options]
```

## Examples

Run with no flags to be prompted for the module name, then confirm removal:

```bash theme={null}
ooneex module:remove
```

Remove a module by name:

```bash theme={null}
ooneex module:remove --name=billing
```

```bash theme={null}
ooneex module:remove --name=Catalog
```

## Options

| Option   | Description                                              | Default             |
| -------- | -------------------------------------------------------- | ------------------- |
| `--name` | Name of the module to remove (normalized to kebab-case). | Prompted if omitted |
