Dist::Zilla::Plugin::AddFile::FromCommand - Add file from command's output
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.
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
This plugin adds a file from output of command specified in dist.ini.
Dist::Zilla::Plugin::AddFile::FromFS
Dist::Zilla::Plugin::AddFile::FromCode
Please visit the project's homepage at https://metacpan.org/release/Dist-Zilla-Plugin-AddFile-FromCommand.
Source repository is at https://github.com/perlancar/perl-Dist-Zilla-Plugin-AddFile-FromCommand.
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.
perlancar <perlancar@cpan.org>
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.
To install Dist::Zilla::Plugin::AddFile::FromCommand, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::AddFile::FromCommand
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::AddFile::FromCommand
For more information on module installation, please visit the detailed CPAN module installation guide.