Skip to content

Design: CLI tool to produce a node skeleton

Nathanaël Lécaudé edited this page Feb 14, 2017 · 1 revision

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.

Clone this wiki locally