Techincal Info

Project structure

Logic of all context switches and their defaults is implemented at ./lib/params.js

The module logic is ./lib/rules-updater.js

There is a test fixture on ./test/rules_0/

Parameters and Context switches

implemented at ./lib/params.js

3 levels of cascading defaults:

1 - CLI parameter - switches are described with 'optimist'.
2 - prules.config.js - options that are commonly used - save time in providing them every time
3 - defaults - some of the switches have hardcoded defaults

(*) names are not the same.
CLI Switches have short names, but they support full names too.
prules.config uses shorter names of it's own