Created Design: CLI tool to produce a node skeleton (markdown)

Nathanaël Lécaudé 2017-02-14 09:53:09 -05:00
parent cd10777ff3
commit f9fedbeac2
1 changed files with 27 additions and 0 deletions

@ -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.