Skip to content

Improve capitalization in AI API flags descriptions#1267

Merged
ccojocar merged 1 commit intosecurego:masterfrom
alexandear:ai-flags-title
Dec 16, 2024
Merged

Improve capitalization in AI API flags descriptions#1267
ccojocar merged 1 commit intosecurego:masterfrom
alexandear:ai-flags-title

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
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Não

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