From f9fedbeac247926d34df945356ccbad1503009ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nathana=C3=ABl=20L=C3=A9caud=C3=A9?= Date: Tue, 14 Feb 2017 09:53:09 -0500 Subject: [PATCH] Created Design: CLI tool to produce a node skeleton (markdown) --- ...gn:-CLI-tool-to-produce-a-node-skeleton.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Design:-CLI-tool-to-produce-a-node-skeleton.md diff --git a/Design:-CLI-tool-to-produce-a-node-skeleton.md b/Design:-CLI-tool-to-produce-a-node-skeleton.md new file mode 100644 index 0000000..a55a0f8 --- /dev/null +++ b/Design:-CLI-tool-to-produce-a-node-skeleton.md @@ -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. +