README.md in tapioca-0.6.4 vs README.md in tapioca-0.7.0
- old
+ new
@@ -121,10 +121,16 @@
[--doc], [--no-doc] # Include YARD documentation from sources when generating RBIs. Warning: this might be slow
[--exported-gem-rbis], [--no-exported-gem-rbis] # Include RBIs found in the `rbi/` directory of the gem
# Default: true
-w, [--workers=N] # EXPERIMENTAL: Number of parallel workers to use when generating RBIs
# Default: 1
+ [--auto-strictness], [--no-auto-strictness] # Autocorrect strictness in gem RBIs in case of conflict with the DSL RBIs
+ # Default: true
+ --dsl-dir, [--dsl-dir=directory] # The DSL directory used to correct gems strictnesses
+ # Default: sorbet/rbi/dsl
+ [--rbi-max-line-length=N] # Set the max line length of generated RBIs. Signatures longer than the max line length will be wrapped
+ # Default: 120
-c, [--config=<config file path>] # Path to the Tapioca configuration file
# Default: sorbet/tapioca/config.yml
-V, [--verbose], [--no-verbose] # Verbose output for debugging purposes
generate RBIs from gems
@@ -157,31 +163,33 @@
### Generate DSL RBI files
Command: `tapioca dsl [constant...]`
-This will generate DSL RBIs for specified constants (or for all handled constants, if a constant name is not supplied). You can read about DSL RBI generators supplied by `tapioca` in [the manual](manual/generators.md).
+This will generate DSL RBIs for specified constants (or for all handled constants, if a constant name is not supplied). You can read about DSL RBI compilers supplied by `tapioca` in [the manual](manual/compilers.md).
<!-- START_HELP_COMMAND_DSL -->
```shell
Usage:
tapioca dsl [constant...]
Options:
- --out, -o, [--outdir=directory] # The output directory for generated DSL RBI files
- # Default: sorbet/rbi/dsl
- [--file-header], [--no-file-header] # Add a "This file is generated" header on top of each generated RBI file
- # Default: true
- [--only=generator [generator ...]] # Only run supplied DSL generator(s)
- [--exclude=generator [generator ...]] # Exclude supplied DSL generator(s)
- [--verify], [--no-verify] # Verifies RBIs are up-to-date
- -q, [--quiet], [--no-quiet] # Supresses file creation output
- -w, [--workers=N] # EXPERIMENTAL: Number of parallel workers to use when generating RBIs
- # Default: 1
- -c, [--config=<config file path>] # Path to the Tapioca configuration file
- # Default: sorbet/tapioca/config.yml
- -V, [--verbose], [--no-verbose] # Verbose output for debugging purposes
+ --out, -o, [--outdir=directory] # The output directory for generated DSL RBI files
+ # Default: sorbet/rbi/dsl
+ [--file-header], [--no-file-header] # Add a "This file is generated" header on top of each generated RBI file
+ # Default: true
+ [--only=compiler [compiler ...]] # Only run supplied DSL compiler(s)
+ [--exclude=compiler [compiler ...]] # Exclude supplied DSL compiler(s)
+ [--verify], [--no-verify] # Verifies RBIs are up-to-date
+ -q, [--quiet], [--no-quiet] # Supresses file creation output
+ -w, [--workers=N] # EXPERIMENTAL: Number of parallel workers to use when generating RBIs
+ # Default: 1
+ [--rbi-max-line-length=N] # Set the max line length of generated RBIs. Signatures longer than the max line length will be wrapped
+ # Default: 120
+ -c, [--config=<config file path>] # Path to the Tapioca configuration file
+ # Default: sorbet/tapioca/config.yml
+ -V, [--verbose], [--no-verbose] # Verbose output for debugging purposes
generate RBIs for dynamic methods
```
<!-- END_HELP_COMMAND_DSL -->
@@ -226,10 +234,11 @@
only: []
exclude: []
verify: false
quiet: false
workers: 1
+ rbi_max_line_length: 120
gem:
outdir: sorbet/rbi/gems
file_header: true
all: false
prerequire: ''
@@ -239,10 +248,13 @@
activesupport: 'false'
verify: false
doc: false
exported_gem_rbis: true
workers: 1
-clean_shims:
+ auto_strictness: true
+ dsl_dir: sorbet/rbi/dsl
+ rbi_max_line_length: 120
+check_shims:
gem_rbi_dir: sorbet/rbi/gems
dsl_rbi_dir: sorbet/rbi/dsl
shim_rbi_dir: sorbet/rbi/shims
```
<!-- END_CONFIG_TEMPLATE -->