Skip to content

Commit 5798eeb

Browse files
committed
[rubygems/rubygems] Added bundle option to method_option
rubygems/rubygems@1413086e92
1 parent 1cb1b15 commit 5798eeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/bundler/cli.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,6 +544,7 @@ def viz
544544
method_option :ci, type: :string, lazy_default: Bundler.settings["gem.ci"] || "", enum: %w[github gitlab circle], desc: "Generate CI configuration, either GitHub Actions, GitLab CI or CircleCI. Set a default with `bundle config set --global gem.ci (github|gitlab|circle)`"
545545
method_option :linter, type: :string, lazy_default: Bundler.settings["gem.linter"] || "", enum: %w[rubocop standard], desc: "Add a linter and code formatter, either RuboCop or Standard. Set a default with `bundle config set --global gem.linter (rubocop|standard)`"
546546
method_option :github_username, type: :string, default: Bundler.settings["gem.github_username"], banner: "Set your username on GitHub", desc: "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>`."
547+
method_option :bundle, type: :boolean, default: true, desc: "Automatically run `bundle install` after creation."
547548

548549
def gem(name)
549550
require_relative "cli/gem"

0 commit comments

Comments
 (0)