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));
});


@@ -165,16 +165,34 @@
 %7C argv.n
+ %7C%7C 'solidus-site'
 %0A%7D;%0A%0Agul
@@ -335,16 +335,23 @@
 /site/**
+/%7B*,.*%7D
 ')%0A    .

add dotfiles to glob