Skip to content

cscli: consistent status and usage message for unknown subcommands#4320

Merged
mmetc merged 2 commits intomasterfrom
cscli-noargs
Feb 20, 2026
Merged

cscli: consistent status and usage message for unknown subcommands#4320
mmetc merged 2 commits intomasterfrom
cscli-noargs

Conversation

@mmetc
Copy link
Contributor

@mmetc mmetc commented Feb 20, 2026

No description provided.

@mmetc mmetc added this to the 1.7.7 milestone Feb 20, 2026
@mmetc mmetc added the kind/fix label Feb 20, 2026
@github-actions
Copy link

@mmetc: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@codecov
Copy link

codecov bot commented Feb 20, 2026

Codecov Report

❌ Patch coverage is 34.37500% with 42 lines in your changes missing coverage. Please review.
✅ Project coverage is 63.16%. Comparing base (a3dbe7f) to head (35d0425).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
cmd/crowdsec-cli/clialert/alerts.go 25.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/cliallowlists/allowlists.go 25.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/clibouncer/bouncers.go 25.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/clicapi/capi.go 25.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/cliconfig/config.go 25.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/clidecision/decisions.go 40.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/clihubtest/hubtest.go 25.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/cliitem/item.go 25.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/clilapi/lapi.go 25.00% 2 Missing and 1 partial ⚠️
cmd/crowdsec-cli/climachine/machines.go 25.00% 2 Missing and 1 partial ⚠️
... and 4 more
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4320      +/-   ##
==========================================
- Coverage   63.28%   63.16%   -0.13%     
==========================================
  Files         472      472              
  Lines       33382    33434      +52     
==========================================
- Hits        21126    21118       -8     
- Misses      10142    10186      +44     
- Partials     2114     2130      +16     
Flag Coverage Δ
bats 46.65% <34.37%> (-0.05%) ⬇️
unit-linux 36.05% <0.00%> (-0.01%) ⬇️
unit-windows 24.42% <0.00%> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mmetc mmetc requested a review from blotus February 20, 2026 14:17
@mmetc mmetc merged commit 6ecd27f into master Feb 20, 2026
16 checks passed
@mmetc mmetc deleted the cscli-noargs branch February 20, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants