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
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,7 @@ Options:
173
173
--post, -a, [--postrequire=file] # A file to be required after Bundler.require is called
174
174
# Default: sorbet/tapioca/require.rb
175
175
-x, [--exclude=gem [gem ...]] # Exclude the given gem(s) from RBI generation
176
+
[--include-dependencies], [--no-include-dependencies] # Generate RBI files for dependencies of the given gem(s)
176
177
--typed, -t, [--typed-overrides=gem:level [gem:level ...]] # Override for typed sigils for generated gem RBIs
177
178
# Default: {"activesupport"=>"false"}
178
179
[--verify], [--no-verify] # Verify RBIs are up-to-date
@@ -201,7 +202,7 @@ generate RBIs from gems
201
202
```
202
203
<!-- END_HELP_COMMAND_GEM -->
203
204
204
-
By default, running `tapioca gem` will only generate the RBI files for gems that have been added to or removed from the project's `Gemfile` this means that Tapioca will not regenerate the RBI files for untouched gems. However, when changing Tapioca configuration or bumping its version, it may be useful to force the regeneration of the RBI files previously generated. This can be done with the `--all` option:
205
+
By default, running `tapioca gem` will only generate the RBI files for gems that have been added to or removed from the project's `Gemfile` this means that Tapioca will not regenerate the RBI files for untouched gems. When supplying gem names if you want to generate RBI files for their dependencies as well, you can use the `--include-dependencies` option. However, when changing Tapioca configuration or bumping its version, it may be useful to force the regeneration of the RBI files previously generated. This can be done with the `--all` option:
0 commit comments