How to pass options --statistics, --verbose, and --get_warnings to Dialyzer #482
Description
Precheck
Searched issues, and README, for:
statistics
,verbose
, andget_warnings
Locally using:
dialyxir
1.2.0, anderlex
0.2.6 (though not explicitly depending on it)
Environment
- Elixir & Erlang/OTP versions (
elixir --version
):
Erlang/OTP 25 [erts-13.1.4] [source] [64-bit] [smp:10:10] [ds:10:10:10] [async-threads:1] [jit]
Elixir 1.14.3 (compiled with Erlang/OTP 25)
- Which version of Dialyxir are you using? (
cat mix.lock | grep dialyxir
):
"dialyxir": {:hex, :dialyxir, "1.2.0", "58344b3e87c2e7095304c81a9ae65cb68b613e28340690dfe1a5597fd08dec37", [:mix], [{:erlex, ">= 0.2.6", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "61072136427a851674cab81762be4dbeae7679f85b1272b6d25c3a839aff8463"},
Current behavior
I can't seem to find a way to pass the following Dialyzer options to it and recover their output (i.e. even if they're being passed from e.g. mix dialyzer --statistics ...
I'm not getting the output):
--statistics
--verbose
--get_warnings
Expected behavior
I'd like to understand if passing those options is possible in the current version (as I may be doing something wrong) and, if it's not, if it would be desired. This issue would serve as a reference for the desire, which I could also pull request for, if/when time allows.