Skip to content
This repository was archived by the owner on Aug 25, 2020. It is now read-only.

Commit b44865b

Browse files
committed
Add hint for CLI use
1 parent e998bdd commit b44865b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎doc/howto.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,9 @@ validator.transform('config', schema, 'local/config.json')
219219
As also possible in the API you may give a relative path which is resolved from the current directory
220220
(mostly the application base directory). And you may use glob patterns in the shell.
221221

222+
But why should you do that? For the validation you may need some modules you neither need in your program.
223+
To not pollute memory with them you can run this step in another process through the CLI.
224+
222225
__Only check data structure:__
223226

224227
# validator --input <file-or-dir> --schema <file>

0 commit comments

Comments
 (0)