configfiles
Get files from a configuration using globule.
What?
var configfiles = require('configfiles');
configfiles({
src: ['test/fixtures/*.js', '!test/fixtures/*.txt']
});
configfiles({
src: ['test/fixtures/*'],
dest: 'dest/file'
});
configfiles({
files: {
src: ['test/fixtures/*'],
dest: 'dest/file'
}
});
configfiles({
files: [
{ src: ['test/fixtures/*.js'], dest: 'dest/file' },
{ src: ['test/fixtures/*.txt'] }
]
});
configfiles({
files: ['test/fixtures/*.js']
});
configfiles(['test/fixtures/*.js']);
configfiles({
expand: true,
cwd: 'test/fixtures',
src: '*.js',
dest: 'dest/'
});