From ae3822a04012cb32e94635bd2a819ce393f2c43a Mon Sep 17 00:00:00 2001 From: Mark Dalgleish Date: Thu, 24 Sep 2015 07:32:32 +1000 Subject: [PATCH] Add message option to cli --- bin/gh-pages | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/gh-pages b/bin/gh-pages index 9b25895c..490f94f7 100755 --- a/bin/gh-pages +++ b/bin/gh-pages @@ -14,6 +14,8 @@ program 'URL of the repository you\'ll be pushing to') .option('-b, --branch ', 'name of the branch you\'ll be pushing to', 'gh-pages') + .option('-m, --message ', + 'commit message', 'Updates') .option('-t, --dotfiles', 'Include dotfiles') .option('-a, --add', 'Only add, and never remove existing files.') .parse(process.argv); @@ -22,6 +24,7 @@ ghpages.publish(path.join(process.cwd(), program.dist), { repo: program.repo, branch: program.branch, src: program.src, + message: program.message, dotfiles: !!program.dotfiles, add: !!program.add, logger: function(message) {