A new command to validate json config file
The Reflect Command-Line Interface always needs a file in JSON format to run. It should be found either in the current,
$HOME/.config/, or/etcdirectory.By setting the
REFLECTenvironment variable it is possible to set the filename ofphpreflect.jsonto something else.E.g:
REFLECT=my-phpreflect.jsonIt’s very usefull to validate structure of the json configuration file before to run any command of Reflect
Published by Laurent Laville on 2014-07-28Example 1. Just run the command below$ phpreflect validate