@waserman/create-rules-json

1.1.0 • Public • Published

create-rules-json

CLI tool for parse JSON file (based on predefined rules) and write a formatted new file to disc.

Prerequisites

Download and install Node.js and npm. Follow the docs on Node.js site.

Tests if node.js and npm were installed properly:

npm --version
node --version

Installation

Use the package manager npm to install the package.

npm install -g @waserman/create-rules-json

CLI options

-s, --source    String    path to the source JSON file.
-t, --target    String    the name of the new generated file.
-r, --replace   Boolean   weather to delete the source file, or not. 

Usage

Open your terminal and run

create-rules-json

and than just follow the instructions.

or:

create-rules-json -s /path/to/source/file.json -t new_file -r

License

MIT

Package Sidebar

Install

npm i @waserman/create-rules-json

Weekly Downloads

1

Version

1.1.0

License

MIT

Unpacked Size

8.18 kB

Total Files

8

Last publish

Collaborators

  • waserman