Giter Site home page Giter Site logo

ndtools's Introduction

NAME

App::NDTools - Command line tools for nested structures

CI Coverage Status CPAN version

VERSION

Version 0.6.3

DESCRIPTION

Diff, patch, process, query JSON and YAML with ease.

TOOLS

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 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
ndquery

Examine structure and dump it's parts.

INSTALL

From CPAN:

cpanm App::NDTools

Build deb package:

git clone https://github.com/mr-mixas/NDTools.git
cd NDTools
DEBUILD_OPTS="--no-lintian -uc -us -b" make -C dist deb

Use without installation:

git clone https://github.com/mr-mixas/NDTools.git
cd NDTools
source ./SOURCEME # install depends to the current directory and set ENV

LIMITATIONS

YAML::XS should be additionally installed for YAML support. YAML::XS 0.67 or later and JSON::PP required for correct booleans dump; 1 for true and 0 for false used for earlier YAML::XS versions.

AUTHOR

Michael Samoglyadov, <mixas at cpan.org>

BUGS

Sure, report them using https://github.com/mr-mixas/NDTools/issues

SEE ALSO

jq, json-delta

Struct::Diff, Struct::Path, Struct::Path::PerlStyle

LICENSE AND COPYRIGHT

Copyright 2016-2019 Michael Samoglyadov

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation, either version 3 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR 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, see http://www.gnu.org/licenses/.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.