ndproc - nested data processor, extendable by modules
ndproc [OPTIONS] <arguments>
Process nested data structures according provided rules
Format for builtin rules and blames. Raw structure used by default.
Use builtin (in processed object) rules.
Skip (don't process) rules for specified module. May be used several times.
Dump blame to file.
Dump rules to file.
Embed blame into processed structure, using provided path.
Embed used rules into processed structure, using provided path.
Print a help message and exit.
Force specified input format usage. Will be selected automatically (using file name extension) if omitted. YAML::XS should be installed for YAML support.
List available modules.
Process structure using specified module.
Force specified output format usage. JSON is used by default; YAML::XS should be installed for YAML support, see "LIMITATIONS" in App::NDTools for more info.
Load rules from specified file. May be used several times.
Increase verbosity, max level is 4.
Print version and exit.
Insert Insert value into structure JsonMergePatch Apply JSON Merge Patch (rfc7396) patches JsonPatch Apply JSON Patch (rfc6902) patches Merge Merge structures according provided rules Patch Apply nested diff to the structure Pipe Modify structure using external process Remove Remove specified parts from structure
Simply merge three files using module Merge:
Merge
ndproc --module Merge a.json --source b.json --source c.json
Print usage for Merge module:
ndproc --module Merge --help
0 No errors occured. 1 Generic error code. 2 I/O Error. 4 Path related errors.
Report bugs to https://github.com/mr-mixas/NDTools/issues
nddiff, ndpatch, ndquery
App::NDTools::NDProc
Copyright 2016-2019 Michael Samoglyadov <mixas at cpan.org>.
<mixas at cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of GNU General Public License 3 or later versions.
To install App::NDTools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::NDTools
CPAN shell
perl -MCPAN -e shell install App::NDTools
For more information on module installation, please visit the detailed CPAN module installation guide.