Skip to content

Commit 845e878

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Add default_cli_command documentation
I suspect most experienced users won't like the change in defaults, so document the setting to toggle back the current default. ruby/rubygems@93e2e2bef9
1 parent cd3389e commit 845e878

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

lib/bundler/man/bundle-config.1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ Whether Bundler should run \fBbundle clean\fR automatically after \fBbundle inst
7777
\fBconsole\fR (\fBBUNDLE_CONSOLE\fR)
7878
The console that \fBbundle console\fR starts\. Defaults to \fBirb\fR\.
7979
.TP
80+
\fBdefault_cli_command\fR (\fBBUNDLE_DEFAULT_CLI_COMMAND\fR)
81+
The command that running \fBbundle\fR without arguments should run\. Defaults to \fBcli_help\fR since Bundler 4, but can also be \fBinstall\fR which was the previous default\.
82+
.TP
8083
\fBdeployment\fR (\fBBUNDLE_DEPLOYMENT\fR)
8184
Equivalent to setting \fBfrozen\fR to \fBtrue\fR and \fBpath\fR to \fBvendor/bundle\fR\.
8285
.TP

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,10 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
9999
explicitly configured.
100100
* `console` (`BUNDLE_CONSOLE`):
101101
The console that `bundle console` starts. Defaults to `irb`.
102+
* `default_cli_command` (`BUNDLE_DEFAULT_CLI_COMMAND`):
103+
The command that running `bundle` without arguments should run. Defaults to
104+
`cli_help` since Bundler 4, but can also be `install` which was the previous
105+
default.
102106
* `deployment` (`BUNDLE_DEPLOYMENT`):
103107
Equivalent to setting `frozen` to `true` and `path` to `vendor/bundle`.
104108
* `disable_checksum_validation` (`BUNDLE_DISABLE_CHECKSUM_VALIDATION`):

0 commit comments

Comments
 (0)