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

Improve capitalization in AI API flags descriptions #1267

Merged
merged 1 commit into from
Dec 16, 2024

Conversation

alexandear
Copy link
Contributor

This is for consistency with other flags.

gosec -v before:

OPTIONS:

  -ai-api-key string
        key to access the AI API
  -ai-api-provider string
        AI API provider to generate auto fixes to issues.
        Valid options are: gemini
  -ai-endpoint string
        endpoint AI API.
        This is optional, the default API endpoint will be used when not provided.
  -color
        Prints the text format report with colorization when it goes in the stdout (default true)

go run ./cmd/gosec -v after:

OPTIONS:

  -ai-api-key string
        Key to access the AI API
  -ai-api-provider string
        AI API provider to generate auto fixes to issues.
        Valid options are: gemini
  -ai-endpoint string
        Endpoint AI API.
        This is optional, the default API endpoint will be used when not provided.
  -color
        Prints the text format report with colorization when it goes in the stdout (default true)

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.66%. Comparing base (1216c9b) to head (cbef185).
Report is 18 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1267      +/-   ##
==========================================
- Coverage   68.49%   66.66%   -1.84%     
==========================================
  Files          75       75              
  Lines        4384     5186     +802     
==========================================
+ Hits         3003     3457     +454     
- Misses       1233     1581     +348     
  Partials      148      148              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ccojocar ccojocar merged commit b62cc33 into securego:master Dec 16, 2024
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants