Files
noodl-docs/cli/commands/new/README.md
Eric Tuvesson 53f0d6320e Initial commit
Co-Authored-By: kotte <14197736+mrtamagotchi@users.noreply.github.com>
Co-Authored-By: mikaeltellhed <2311083+mikaeltellhed@users.noreply.github.com>
Co-Authored-By: Tore Knudsen <18231882+torekndsn@users.noreply.github.com>
Co-Authored-By: Michael Cartner <32543275+michaelcartner@users.noreply.github.com>
2023-09-05 12:08:55 +02:00

42 lines
557 B
Markdown

---
title: CLI Command new
hide_title: true
---
# Command: new
Create a new Noodl module template.
### Example
```bash
# Create a React Module in the relative "./my-module" folder.
noodl-cli new react-lib ./my-module
```
### Available Templates
#### `react-lib`
Create a module with React and Logic Component support.
#### `lib`
Create a module with Logic Component support.
## Synopsis
```
noodl-cli new <template> <path> [--name <name>]
```
### Configuration
#### `name`
- Default: folder name
- Type: String
- Alias: `-n`
The module name.