var gulp = require('gulp');
var template = require('gulp-template');
var argv = require('minimist')(process.argv.slice(2));

var options = {
  siteName: argv.name || argv.n
};

gulp.task('default', function(done) {
  console.log('Args: ', gulp.args);
  console.log('Argv: ', argv);
  gulp.src(__dirname + '/templates/site/**')
    .pipe(template(options))
    .pipe(gulp.dest('./' + options.siteName));
});


var gulp = require('gulp');
var template = require('gulp-template');
var argv = require('minimist')(process.argv.slice(2));

var options = {
  siteName: argv.name || argv.n || 'solidus-site'
};

gulp.task('default', function(done) {
  console.log('Args: ', gulp.args);
  console.log('Argv: ', argv);
  gulp.src(__dirname + '/templates/site/**/{*,.*}')
    .pipe(template(options))
    .pipe(gulp.dest('./' + options.siteName));
});


add dotfiles to glob