NAME

Dist::Zilla::Plugin::AddFile::FromCommand - Add file from command's output

VERSION

This document describes version 0.01 of Dist::Zilla::Plugin::AddFile::FromCommand (from Perl distribution Dist-Zilla-Plugin-AddFile-FromCommand), released on 2015-06-28.

SYNOPSIS

In dist.ini:

[AddFile::FromCommand]
cmd=ls -l /home/ujang/projects/
dest=share/ls.txt

To add more files:

[AddFile::FromCommand / 2]
code=netstat -anp | redact-ips
dest=share/sample-netstat-output.txt

DESCRIPTION

This plugin adds a file from output of command specified in dist.ini.

SEE ALSO

Dist::Zilla::Plugin::AddFile::FromFS

Dist::Zilla::Plugin::AddFile::FromCode

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-Plugin-AddFile-FromCommand.

SOURCE

Source repository is at https://github.com/perlancar/perl-Dist-Zilla-Plugin-AddFile-FromCommand.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Dist-Zilla-Plugin-AddFile-FromCommand

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.