> For the complete documentation index, see [llms.txt](https://mandarineframework.gitbook.io/mandarine-ts/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mandarineframework.gitbook.io/mandarine-ts/mandarine-cli/cli/mandarine-generate.md).

# mandarine generate

## mandarine generate

Generates a Mandarine-powered module.

`mandarine generate [MODULE NAME] [TYPES]`

### Arguments

| Argument       | Description                  |
| -------------- | ---------------------------- |
| \[Module name] | Name of the module to create |

### Types

| Type              | Description                                               |
| ----------------- | --------------------------------------------------------- |
| --controller (-c) | Adds a Controller component to the module.                |
| --service (-s)    | Adds a Service component to the module.                   |
| --component       | Adds a regular mandarine-powered component to the module. |
| --middleware (-m) | Adds a middleware component to the module.                |
| --repository (-r) | Adds a repository component to the module.                |
| --model           | Adds a mandarine-powered database model to the module.    |
| --configuration   | Adds a configuration component to the module.             |
