From cd9e654c57e00743bf69dbe06854fba7a9b2a535 Mon Sep 17 00:00:00 2001 From: Maxime Thirouin Date: Wed, 10 Feb 2016 22:10:20 +0100 Subject: [PATCH] Add --silent option to the bin --- bin/gh-pages | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/gh-pages b/bin/gh-pages index 998f77d..1496e93 100755 --- a/bin/gh-pages +++ b/bin/gh-pages @@ -12,6 +12,7 @@ program 'pattern used to select which files should be published', '**/*') .option('-r, --repo ', 'URL of the repository you\'ll be pushing to') + .option('-x, --silent', 'Do not output the repository url') .option('-b, --branch ', 'name of the branch you\'ll be pushing to', 'gh-pages') .option('-m, --message ', @@ -23,6 +24,7 @@ program ghpages.publish(path.join(process.cwd(), program.dist), { repo: program.repo, + silent: !!program.silent, branch: program.branch, src: program.src, message: program.message,