Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: --debug #536

Open
Zeckie opened this issue Jun 9, 2024 · 0 comments
Open

Documentation: --debug #536

Zeckie opened this issue Jun 9, 2024 · 0 comments

Comments

@Zeckie
Copy link
Contributor

Zeckie commented Jun 9, 2024

  • safety version: 3.2.2
  • Python version: 3.12
  • Operating System: Windows

Description

The documentation for the --debug option (on website and via --help) does not currently match how it works.

image

https://docs.safetycli.com/safety-docs/safety-cli-3/available-commands-and-inputs

What I Did

> 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                                                           │
│
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant