Skip to main content
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

talos module:remove [options]

Examples

Run with no flags to be prompted for the module name, then confirm removal:
talos module:remove
Remove a module by name:
talos module:remove --name=billing
talos module:remove --name=Catalog

Options

OptionDescriptionDefault
--nameName of the module to remove (normalized to kebab-case).Prompted if omitted