Skip to content

Latest commit

 

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toDir

Send globs to another paths.

Installation

$ composer require --dev junty/junty-todir

Usage

On your juntyfile.php:

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.

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

About

[Plugin] 📁 Send globs to another paths

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages