Skip to content

Waserman/create-rules-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple CLI tool for writing formatted JSON file to disc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published