mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Created Design: CLI tool to produce a node skeleton (markdown)
parent
cd10777ff3
commit
f9fedbeac2
27
Design:-CLI-tool-to-produce-a-node-skeleton.md
Normal file
27
Design:-CLI-tool-to-produce-a-node-skeleton.md
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
## Proposition
|
||||||
|
|
||||||
|
Creation of a command line utility to dynamically generate a node skeleton folder.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
`node-red-skel my-cystom-node`
|
||||||
|
|
||||||
|
## Result
|
||||||
|
|
||||||
|
```
|
||||||
|
node-red-contrib-my-custom-node
|
||||||
|
├── .gitignore
|
||||||
|
├── .jshintrc
|
||||||
|
├── README.md
|
||||||
|
├── examples
|
||||||
|
│ └── README.md
|
||||||
|
├── my-custom-node
|
||||||
|
│ ├── my-custom-node.html
|
||||||
|
│ └── my-custom-node.js
|
||||||
|
└── package.json
|
||||||
|
```
|
||||||
|
|
||||||
|
The contents of `my-custom-node.html`, `my-custom-node.js` and `package.json` reflect the project name.
|
||||||
|
|
||||||
|
Default `.gitignore` and `.jshintrc` files are created.
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user