2017 © Pedro Peláez
 

library junty-todir

Send globs to another paths.

image

junty/junty-todir

Send globs to another paths.

  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

toDir

Send globs to another paths., (*1)

Installation

$ composer require --dev junty/junty-todir

Usage

On your juntyfile.php:, (*2)

require 'vendor/autoload.php';

use Junty\Runner;
use Junty\ToDir\ToDirPlugin;

$junty = new Runner();

$junty->task('catch_txt', function () {
    $this->src('./*.txt')
        ->forStreams(new ToDirPlugin('txt_files')); // Send all txt files to txt_files
});

Nativaly!

This plugin comes nativaly with Junty, so you don't need to install., (*3)

// ...
->forStreams($this->toDir('directory_name'))

The Versions

08/03 2016

dev-master

9999999-dev

Send globs to another paths.

  Sources   Download

MIT

The Requires

 

The Development Requires

08/03 2016

v0.1.2

0.1.2.0

Send globs to another paths.

  Sources   Download

MIT

The Requires

 

The Development Requires

08/03 2016

v0.1.1

0.1.1.0

Send globs to another paths.

  Sources   Download

MIT

The Requires

 

The Development Requires

04/03 2016

v0.1.0

0.1.0.0

Send globs to another paths.

  Sources   Download

MIT

The Requires

 

The Development Requires