ndpatch - apply diff to a structure
ndpatch [OPTIONS] ndpatch [OPTIONS] <file> [<patchfile>]
Apply diff file to original one.
Print help message and exit.
Force specified input format usage. Automatically choosed (using file extension) if omitted.
On/Off pretty-print for JSON. Enabled by default.
Increase verbosity, max level - 4.
Print version and exit.
Apply patch:
ndpatch struct.json patch.json
0 No errors occured. 1 Generic error code. 2 I/O Error. 8 Diff/patch related errors.
Report bugs to https://github.com/mr-mixas/NDTools/issues
App::NDTools::nddiff, App::NDTools::ndproc, App::NDTools::ndquery
App::NDTools::NDPatch
Copyright 2016-2018 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.