pyupio/safety

safety auth --help throws error

Opened this issue · 0 comments

  • safety version: 3.1.0
  • Python version: 3.12
  • Operating System: MacOS

Description

I would like to run the safety auth command with the --help flag to get more information about the auth command.

What I Did

 safety auth --help

 Authenticate Safety CLI to perform scans. Your default browser will automatically open to
 https://platform.safetycli.com. Example: safety auth login

 Usage: safety [GLOBAL-OPTIONS] auth [OPTIONS] COMMAND [ARGS]...

Traceback (most recent call last):
...
TypeError: _print_commands_panel() missing 1 required keyword-only argument: 'cmd_len'

It appears that the problem call is here.

FYI, I think this would have easily been picked up by a linter such as pylint.