Closed SafetyQuincyF closed 2 weeks ago
A new debugging configuration named "Safety --help" has been added to the .vscode/launch.json
file, allowing users to launch the "safety" module with the --help
argument. Additionally, the CLI_AUTH_COMMAND_HELP
string in safety/scan/constants.py
has been updated from a single-line to a multi-line format, providing a clearer explanation of the authentication process, including details on headless authentication. The command-line interface has also been modified to remove the stage
parameter and introduce a new --headless
option.
File | Change Summary |
---|---|
.vscode/launch.json | Added a new debugging configuration: "Safety --help" to launch the "safety" module with --help . |
safety/scan/constants.py | Updated CLI_AUTH_COMMAND_HELP from a single-line to a multi-line string for better clarity; added CLI_HEADLESS_AUTH_HELP . |
safety/auth/cli_utils.py | Removed stage parameter from auth_options , added --headless option, and updated imports to include CLI_HEADLESS_AUTH_HELP . |
safety/cli.py | Removed stage parameter from auth_options decorators in check and license commands; retained print_deprecation_message function. |
.vscode/launch.json
file, which is directly related to the main PR's addition of the "Safety --help" configuration..vscode/launch.json
file by adding a new configuration for the "Safety License", indicating a direct connection to the changes made in the main PR..vscode/launch.json
file for "Safety Auth Login --headless", which is relevant to the debugging configurations discussed in the main PR.🐰 In the meadow, where rabbits hop,
A new help command, we can't stop!
With safety's guide, so clear and bright,
Debugging's now a pure delight!
Hooray for changes, big and small,
In our cozy burrow, we welcome all! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
I am benching this due to complexity adding --headless to options would require a rewrite of how auth login is done. @dylanpulver
Description
Add --headless to help option for safety.
Type of Change
Testing
Checklist
Summary by CodeRabbit
New Features
Documentation