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/etc
directory.By setting the
REFLECT
environment variable it is possible to set the filename ofphpreflect.json
to something else.E.g:
REFLECT=my-phpreflect.json
It’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