Skip to content

Commit aaf6398

Browse files
Add several missing flags to bundle gem --help
1 parent 418dfbf commit aaf6398

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

bundler/lib/bundler/man/bundle-gem.1

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ The generated project skeleton can be customized with OPTIONS, as explained belo
3232
.IP "\(bu" 4
3333
\fB\-\-no\-ext\fR: Do not add extension code (overrides \fB\-\-ext\fR specified in the global config)\.
3434
.IP "\(bu" 4
35+
\fB\-\-git\fR: Initialize a git repo inside your library\.
36+
.IP "\(bu" 4
37+
\fB\-\-github\-username=GITHUB_USERNAME\fR: Fill in GitHub username on README so that you don't have to do it manually\. Set a default with \fBbundle config set \-\-global gem\.github_username <your_username>\fR\.
38+
.IP "\(bu" 4
3539
\fB\-\-mit\fR: Add an MIT license to a \fBLICENSE\.txt\fR file in the root of the generated project\. Your name from the global git config is used for the copyright statement\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\.
3640
.IP "\(bu" 4
3741
\fB\-\-no\-mit\fR: Do not create a \fBLICENSE\.txt\fR (overrides \fB\-\-mit\fR specified in the global config)\.
@@ -46,6 +50,8 @@ When Bundler is unconfigured, an interactive prompt will be displayed and the an
4650
.IP "\(bu" 4
4751
\fB\-\-no\-test\fR: Do not use a test framework (overrides \fB\-\-test\fR specified in the global config)\.
4852
.IP "\(bu" 4
53+
\fB\-\-changelog\fR: Generate changelog file\. Set a default with \fBbundle config set \-\-global gem\.changelog true\fR\.
54+
.IP "\(bu" 4
4955
\fB\-\-ci\fR, \fB\-\-ci=github\fR, \fB\-\-ci=gitlab\fR, \fB\-\-ci=circle\fR: Specify the continuous integration service that Bundler should use when generating the project\. Acceptable values are \fBgithub\fR, \fBgitlab\fR and \fBcircle\fR\. A configuration file will be generated in the project directory\. Given no option is specified:
5056
.IP
5157
When Bundler is configured to generate CI files, this defaults to Bundler's global config setting \fBgem\.ci\fR\.
@@ -66,6 +72,8 @@ When Bundler is unconfigured, an interactive prompt will be displayed and the an
6672
.IP "\(bu" 4
6773
\fB\-\-no\-linter\fR: Do not add a linter (overrides \fB\-\-linter\fR specified in the global config)\.
6874
.IP "\(bu" 4
75+
\fB\-\-rubocop\fR: Add rubocop to the generated Rakefile and gemspec\. Set a default with \fBbundle config set \-\-global gem\.rubocop true\fR\.
76+
.IP "\(bu" 4
6977
\fB\-e\fR, \fB\-\-edit[=EDITOR]\fR: Open the resulting GEM_NAME\.gemspec in EDITOR, or the default editor if not specified\. The default is \fB$BUNDLER_EDITOR\fR, \fB$VISUAL\fR, or \fB$EDITOR\fR\.
7078
.IP "" 0
7179
.SH "SEE ALSO"

bundler/lib/bundler/man/bundle-gem.1.ronn

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,12 @@ configuration file using the following names:
4949
Do not add extension code (overrides `--ext` specified in the global
5050
config).
5151

52+
* `--git`:
53+
Initialize a git repo inside your library.
54+
55+
* `--github-username=GITHUB_USERNAME`:
56+
Fill in GitHub username on README so that you don't have to do it manually. Set a default with `bundle config set --global gem.github_username <your_username>`.
57+
5258
* `--mit`:
5359
Add an MIT license to a `LICENSE.txt` file in the root of the generated
5460
project. Your name from the global git config is used for the copyright
@@ -80,6 +86,9 @@ configuration file using the following names:
8086
Do not use a test framework (overrides `--test` specified in the global
8187
config).
8288

89+
* `--changelog`:
90+
Generate changelog file. Set a default with `bundle config set --global gem.changelog true`.
91+
8392
* `--ci`, `--ci=github`, `--ci=gitlab`, `--ci=circle`:
8493
Specify the continuous integration service that Bundler should use when
8594
generating the project. Acceptable values are `github`, `gitlab`
@@ -119,6 +128,9 @@ configuration file using the following names:
119128
* `--no-linter`:
120129
Do not add a linter (overrides `--linter` specified in the global config).
121130

131+
* `--rubocop`:
132+
Add rubocop to the generated Rakefile and gemspec. Set a default with `bundle config set --global gem.rubocop true`.
133+
122134
* `-e`, `--edit[=EDITOR]`:
123135
Open the resulting GEM_NAME.gemspec in EDITOR, or the default editor if not
124136
specified. The default is `$BUNDLER_EDITOR`, `$VISUAL`, or `$EDITOR`.

0 commit comments

Comments
 (0)