mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-11 23:02:54 +01:00
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>
42 lines
557 B
Markdown
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.
|