diff --git a/bin/gh-pages b/bin/gh-pages index 2e6586ea..3fa6f304 100755 --- a/bin/gh-pages +++ b/bin/gh-pages @@ -3,7 +3,7 @@ var ghpages = require('../lib/index'); var program = require('commander'); var path = require('path'); - + program .version(require('../package').version) .option('-d, --dist ', @@ -12,11 +12,13 @@ program 'pattern used to select which files should be published', '**/*') .option('-b, --branch ', 'name of the branch you\'ll be pushing to', 'gh-pages') + .option('-t, --dotfiles', 'Include dotfiles') .parse(process.argv); ghpages.publish(path.join(process.cwd(), program.dist), { branch: program.branch, src: program.src, + dotfiles: !!program.dotfiles, logger: function(message) { console.log(message); }