- Notifications
You must be signed in to change notification settings - Fork2
Command line tools for nested structures
License
mr-mixas/NDTools
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
App::NDTools - Command line tools for nested structures
Version 0.6.3
Diff, patch, process, query JSON and YAML with ease.
- nddiff
Human friendly and machine readable diffs.
- ndpatch
Apply diff to the structure.
- ndproc
Process structure using rules and modules.
Available modules:
Insert Insert value into structureJsonMergePatch Apply JSON Merge Patch (rfc7396) patchesJsonPatch Apply JSON Patch (rfc6902) patchesMerge Merge structures according provided rulesPatch Apply nested diff to the structurePipe Modify structure using external processRemove Remove specified parts from structure
- ndquery
Examine structure and dump it's parts.
From CPAN:
cpanm App::NDTools
Build deb package:
git clone https://github.com/mr-mixas/NDTools.gitcd NDToolsDEBUILD_OPTS="--no-lintian -uc -us -b" make -C dist deb
Use without installation:
git clone https://github.com/mr-mixas/NDTools.gitcd NDToolssource ./SOURCEME # install depends to the current directory and set ENV
YAML::XS should be additionally installed for YAML support.YAML::XS0.67
or later andJSON::PP required for correct booleans dump;1
for true and0
for false used for earlierYAML::XS versions.
Michael Samoglyadov,<mixas at cpan.org>
Sure, report them usinghttps://github.com/mr-mixas/NDTools/issues
Struct::Diff,Struct::Path,Struct::Path::PerlStyle
Copyright 2016-2019 Michael Samoglyadov
This program is free software: you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the Free SoftwareFoundation, either version 3 of the License, or (at your option) any laterversion.This program is distributed in the hope that it will be useful, but WITHOUTANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESSFOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, seehttp://www.gnu.org/licenses/.
About
Command line tools for nested structures