Skip to content

chore: Make CLI command-based - #96

Merged
martinnaj merged 1 commit into
masterfrom
mnaj-command-based-cli
Oct 12, 2026
Merged

martinnaj merged 1 commit into
masterfrom
mnaj-command-based-cli

Conversation

@martinnaj

@martinnaj martinnaj commented Oct 12, 2026 •

Copy link
Copy Markdown
Member

Risk: low

Summary by CodeRabbit

  • New Features
    • Added detect, list-projects, and version commands, with command-specific help and validated flags.
    • detect supports target filtering, commit or branch comparisons, optional CSS and type analysis, and logging-level selection.
    • Added top-level version aliases; Docker runs detect by default.
  • Changes
    • Detection output is sorted JSON. Bare invocation now displays usage and exits with an error.
    • Environment-variable inputs and the --list option are no longer supported; use command flags instead.
  • Bug Fixes
    • Deleted exports now affect only the corresponding symbols rather than tainting an entire file.

@coderabbitai

coderabbitai Bot commented Oct 12, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Essentials
  • Run ID: c5869f3d-fd0b-4e21-af26-680b99a4fd4a

📥 Commits

Reviewing files that changed from the base of the PR and between de5fe1b and 1223d06.


📒 Files selected for processing (12)
  • CHANGELOG.md
  • Dockerfile
  • README.md
  • VERSION
  • cmd/detect/detect.go
  • cmd/list_projects/list_projects.go
  • cmd/version/version.go
  • internal/cli/help.go
  • internal/cli/parse.go
  • internal/cli/types.go
  • internal/cli/validate.go
  • main.go

 _______________________________________
< Goodbye, 3-hour code review sessions. >
 ---------------------------------------
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@martinnaj
martinnaj enabled auto-merge October 12, 2026 11:38
@martinnaj
martinnaj merged commit e5e2b8d into master Oct 12, 2026
6 of 7 checks passed
@martinnaj
martinnaj deleted the mnaj-command-based-cli branch October 12, 2026 11:41
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.

2 participants