| 1 | package App::NDTools; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | =head1 NAME | ||
| 7 | |||
| 8 | App::NDTools - command line tools for nested structures | ||
| 9 | |||
| 10 | =begin html | ||
| 11 | |||
| 12 | <a href="https://travis-ci.org/mr-mixas/NDTools"><img src="https://travis-ci.org/mr-mixas/NDTools.svg?branch=master" alt="CI"></a> | ||
| 13 | <a href='https://coveralls.io/github/mr-mixas/NDTools?branch=master'><img src='https://coveralls.io/repos/github/mr-mixas/NDTools/badge.svg?branch=master' alt='Coverage Status'/></a> | ||
| 14 | <a href="https://badge.fury.io/pl/App-NDTools"><img src="https://badge.fury.io/pl/App-NDTools.svg" alt="CPAN version"></a> | ||
| 15 | |||
| 16 | =end html | ||
| 17 | |||
| 18 | =head1 VERSION | ||
| 19 | |||
| 20 | Version 0.5.5 | ||
| 21 | |||
| 22 | =cut | ||
| 23 | |||
| 24 | our $VERSION = "0.5.5-TRIAL"; | ||
| 25 | |||
| 26 | =head1 DESCRIPTION | ||
| 27 | |||
| 28 | Diff, patch, process and query nested structures with ease. | ||
| 29 | |||
| 30 | =head1 TOOLS | ||
| 31 | |||
| 32 | =over 4 | ||
| 33 | |||
| 34 | =item B<L<nddiff>> | ||
| 35 | |||
| 36 | Human friendly (colored, brief) and machine readable (JSON) diff. | ||
| 37 | |||
| 38 | =item B<L<ndpatch>> | ||
| 39 | |||
| 40 | Apply diff to the structure. | ||
| 41 | |||
| 42 | =item B<L<ndproc>> | ||
| 43 | |||
| 44 | Process structure using rules and modules. | ||
| 45 | |||
| 46 | =item B<L<ndquery>> | ||
| 47 | |||
| 48 | Examine structure and dump it's parts. | ||
| 49 | |||
| 50 | =back | ||
| 51 | |||
| 52 | =head1 INSTALL | ||
| 53 | |||
| 54 | From CPAN: | ||
| 55 | |||
| 56 | cpanm App::NDTools | ||
| 57 | |||
| 58 | Build and install deb package: | ||
| 59 | |||
| 60 | git clone https://github.com/mr-mixas/NDTools.git | ||
| 61 | cd NDTools | ||
| 62 | vim dist/debian/changelog # change sign for last version | ||
| 63 | make -C dist deb | ||
| 64 | sudo dpkg -i ndtools_*.deb | ||
| 65 | |||
| 66 | Use without installation: | ||
| 67 | |||
| 68 | git clone https://github.com/mr-mixas/NDTools.git | ||
| 69 | cd NDTools | ||
| 70 | source ./SOURCEME # install depends to the current directory and set ENV | ||
| 71 | |||
| 72 | =head1 LIMITATIONS | ||
| 73 | |||
| 74 | L<YAML::XS> should be additionally installed for YAML support. | ||
| 75 | |||
| 76 | L<YAML::XS> 0.67 or later required for correct booleans dump support | ||
| 77 | (L<JSON::PP> required as well), C<1> for true and C<0> for false used | ||
| 78 | in earlear versions. | ||
| 79 | |||
| 80 | =head1 AUTHOR | ||
| 81 | |||
| 82 | Michael Samoglyadov, C<< <mixas at cpan.org> >> | ||
| 83 | |||
| 84 | =head1 BUGS | ||
| 85 | |||
| 86 | Report bugs to L<https://github.com/mr-mixas/NDTools/issues> | ||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | L<jq|https://stedolan.github.io/jq/>, | ||
| 91 | L<json-delta|https://json-delta.readthedocs.io/en/latest/> | ||
| 92 | |||
| 93 | L<Struct::Diff>, L<Struct::Path>, L<Struct::Path::PerlStyle> | ||
| 94 | |||
| 95 | =head1 LICENSE AND COPYRIGHT | ||
| 96 | |||
| 97 | Copyright 2016-2018 Michael Samoglyadov | ||
| 98 | |||
| 99 | This program is free software: you can redistribute it and/or modify | ||
| 100 | it under the terms of the GNU General Public License as published by | ||
| 101 | the Free Software Foundation, either version 3 of the License, or | ||
| 102 | (at your option) any later version. | ||
| 103 | |||
| 104 | This program is distributed in the hope that it will be useful, | ||
| 105 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 106 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 107 | GNU General Public License for more details. | ||
| 108 | |||
| 109 | You should have received a copy of the GNU General Public License | ||
| 110 | along with this program. If not, see L<http://www.gnu.org/licenses/>. | ||
| 111 | |||
| 112 | =cut |