Rex::Hook::File::Diff - show diff of changes for files managed by Rex
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.
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.
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).
Ferenc Erki <firstname.lastname@example.org>
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.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.