Skip to content

fix(core): scope cli options to relevant commands#1107

Merged
9aoy merged 2 commits intomainfrom
fix/cli-command-options
Mar 26, 2026
Merged

fix(core): scope cli options to relevant commands#1107
9aoy merged 2 commits intomainfrom
fix/cli-command-options

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Mar 26, 2026

Summary

CLI help for init and merge-reports was polluted by unrelated runtime options because options were registered too broadly. The docs also described several CLI flags as globally available even though they were not actually registered that way.

Moved CLI option registration to the relevant commands so run/watch/list share runtime options, while merge-reports and init keep smaller command-specific option sets.

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions
Copy link
Copy Markdown

Rsdoctor Bundle Diff Analysis

Found 12 projects in monorepo, 1 project with changes.

📊 Quick Summary
Project Total Size Change
adapter-rsbuild 2.1 KB 0
adapter-rslib 23.1 KB 0
adapter-rspack 5.9 KB 0
browser 2.0 MB 0
browser-react 3.7 KB 0
browser-ui 804.3 KB 0
coverage-istanbul 9.1 KB 0
core/browser 971.6 KB 0
core/loaders 869.0 B 0
core/main 1.5 MB +3.4 KB (0.2%)
vscode/extension 60.2 MB 0
vscode/worker 14.4 KB 0
📋 Detailed Reports (Click to expand)

📁 core/main

Path: packages/core/.rsdoctor/main/rsdoctor-data.json

📌 Baseline Commit: bf41fe588a | PR: #1106

Metric Current Baseline Change
📊 Total Size 1.5 MB 1.5 MB +3.4 KB (0.2%)
📄 JavaScript 1.5 MB 1.5 MB +3.4 KB (0.2%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 75.4 KB 75.4 KB 0

📦 Download Diff Report: core/main Bundle Diff

Generated by Rsdoctor GitHub Action

@9aoy 9aoy merged commit f0de5f8 into main Mar 26, 2026
19 checks passed
@9aoy 9aoy deleted the fix/cli-command-options branch March 26, 2026 07:10
@9aoy 9aoy mentioned this pull request Mar 26, 2026
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.

1 participant