0 Design: CLI tool to produce a node skeleton
Nathanaël Lécaudé edited this page 2017-02-14 09:53:09 -05:00

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.