Rex::Hook::File::Diff - show diff of changes for files managed by Rex
version v0.4.0
use Rex::Hook::File::Diff;
This module allows Rex to show a diff of changes for the files managed via its built-in file manipulation commands which rely on the file command as a backend:
It prefers to use the diff utility on non-Windows managed endpoints, if available.
diff
This module does not do any error checking (yet).
This module does not require any configuration, nor does it use any environment variables.
See the included cpanfile.
cpanfile
Requires the diff utility to show the diff for remote file operations.
There are no known incompatibilities with other modules.
There are no known bugs. Make sure they are reported.
Upload hook support is not implemented (yet), so diff is not shown upon file uploads when using the source option with the file command (or the upload command directly).
source
Ferenc Erki <erkiferenc@gmail.com>
This software is copyright (c) 2020,2021 by Ferenc Erki.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Rex::Hook::File::Diff, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rex::Hook::File::Diff
CPAN shell
perl -MCPAN -e shell install Rex::Hook::File::Diff
For more information on module installation, please visit the detailed CPAN module installation guide.