Open Zeckie opened 3 weeks ago
The documentation for the --debug option (on website and via --help) does not currently match how it works.
--debug
--help
https://docs.safetycli.com/safety-docs/safety-cli-3/available-commands-and-inputs
> safety --debug scan Usage: safety [OPTIONS] COMMAND [ARGS]... Try 'safety --help' for help. Error: Invalid value for '--debug': 'scan' is not a valid boolean.
> safety --debug true scan 2024-06-08 13:02:41,754 urllib3.connectionpool => Starting new HTTPS connection (1): auth.safetycli.com:443 2024-06-08 13:02:43,058 urllib3.connectionpool => https://auth.safetycli.com:443 "GET /.well-known/openid-configuration HTTP/1.1" 200 None 2024-06-08 13:02:43,380 urllib3.connectionpool => https://auth.safetycli.com:443 "GET /.well-known/jwks.json HTTP/1.1" 200 None ...
> safety --help ... │ --disable-optional-telemetry Opt-out of sending optional telemetry data. Anonymized telemetry data will remain. │ │ Example: safety --disable-optional-telemetry scan │ │ --debug Enable debug mode for detailed output. │ │ Example: safety --debug scan │ │ ...
Description
The documentation for the
--debug
option (on website and via--help
) does not currently match how it works.https://docs.safetycli.com/safety-docs/safety-cli-3/available-commands-and-inputs
What I Did