mirror of
https://github.com/noodlapp/noodl-docs.git
synced 2026-01-12 07:12:53 +01:00
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>
This commit is contained in:
41
cli/commands/new/README.md
Normal file
41
cli/commands/new/README.md
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
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.
|
||||
Reference in New Issue
Block a user