Skip to content

Commit

Permalink
Hide compiler-options as a command line option
Browse files Browse the repository at this point in the history
Since this option cannot be supplied properly on the command line, we should hide it as a command line option, but support it in the configuration file.
  • Loading branch information
paracycle committed May 2, 2024
1 parent aa324a6 commit 9f20e4b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,6 @@ Options:
[--halt-upon-load-error], [--no-halt-upon-load-error], [--skip-halt-upon-load-error] # Halt upon a load error while loading the Rails application
# Default: true
[--skip-constant=constant [constant ...]] # Do not generate RBI definitions for the given application constant(s)
[--compiler-options=key:value] # Options to pass to the DSL compilers
-c, [--config=<config file path>] # Path to the Tapioca configuration file
# Default: sorbet/tapioca/config.yml
-V, [--verbose], [--no-verbose], [--skip-verbose] # Verbose output for debugging purposes
Expand Down
1 change: 1 addition & 0 deletions lib/tapioca/cli.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def todo
option :compiler_options,
type: :hash,
desc: "Options to pass to the DSL compilers",
hide: true,
default: {}
def dsl(*constant_or_paths)
set_environment(options)
Expand Down

0 comments on commit 9f20e4b

Please sign in to comment.