You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.option('-d, --dir <dir>', 'Directory for all published sources, relative to the project-root. Most probably no change is required here.', 'dist')
9
-
.option('-r, --repo <repo>', 'The commit message to include with the build, must be wrapped in quotes.')
10
-
.option('-m, --message <message>', 'The commit message, must be wrapped in quotes.', 'Auto-generated commit')
11
-
.option('-b, --branch <branch>', 'The git branch to push your pages to.', 'gh-pages')
12
-
.option('-n, --name <name>', 'The git user-name which is associated with this commit.')
13
-
.option('-e, --email <email>', 'The git user-email which is associated with this commit')
14
-
.option('-x, --silent', 'Suppress console logging. This option should be used if the repository URL or other information passed to git commands is sensitive! Default: true')
15
-
.option('-t, --dotfiles', 'Includes dotfiles by default. When set to `false` files starting with `.` are ignored. Default: true')
16
-
.parse(process.argv);
17
-
1
+
#!/usr/bin/env node
2
+
3
+
varindex=require('../index'),
4
+
pjson=require('../package.json'),
5
+
program=require('commander');
6
+
7
+
program
8
+
.version(pjson.version)
9
+
.description(pjson.description)
10
+
.option('-d, --dir <dir>','Directory for all published sources, relative to the project-root. Most probably no change is required here.','dist')
11
+
.option('-r, --repo <repo>','The commit message to include with the build, must be wrapped in quotes.')
12
+
.option('-m, --message <message>','The commit message, must be wrapped in quotes.','Auto-generated commit')
13
+
.option('-b, --branch <branch>','The git branch to push your pages to.','gh-pages')
14
+
.option('-n, --name <name>','The git user-name which is associated with this commit.')
15
+
.option('-e, --email <email>','The git user-email which is associated with this commit')
16
+
.option('-x, --silent','Suppress console logging. This option should be used if the repository URL or other information passed to git commands is sensitive! Default: true')
17
+
.option('-t, --dotfiles','Includes dotfiles by default. When set to `false` files starting with `.` are ignored. Default: true')
Copy file name to clipboardExpand all lines: package.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "angular-cli-ghpages",
3
-
"version": "0.4.0",
3
+
"version": "0.4.1",
4
4
"description": "Wrapper around gh-pages, made for angular-cli users. Publish to any gh-pages branch on GitHub (or any other branch on any other remote).",
0 commit comments