Skip to content

fix(_dev,start): hide _dev and start commands from help output - #1389

Merged
danielroe merged 1 commit into
mainfrom
fix/_dev
Jul 25, 2026
Merged

fix(_dev,start): hide _dev and start commands from help output#1389
danielroe merged 1 commit into
mainfrom
fix/_dev

Conversation

@danielroe

Copy link
Copy Markdown
Member

🔗 Linked issue

📚 Description

this is confusing for users

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The internal _dev Nuxt CLI command is marked hidden, excluding it from help output and completions while keeping it runnable. End-to-end tests verify dispatch through both CLI entry points, and unit snapshots confirm _dev is absent from top-level usage and command listings.

Estimated code review effort: 2 (Simple) | ~10 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Title check ✅ Passed The title matches the main change of hiding the internal _dev command from help output, though it also mentions start which is not in this patch.
Description check ✅ Passed The description is brief but still related to the goal of reducing user confusion by hiding an internal command.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/_dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@codspeed-hq

codspeed-hq Bot commented Jul 25, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 2 untouched benchmarks


Comparing fix/_dev (21c3388) with main (a94b9f5)

Open in CodSpeed

@pkg-pr-new

pkg-pr-new Bot commented Jul 25, 2026

Copy link
Copy Markdown
  • nuxt-cli-playground

    npm i https://pkg.pr.new/create-nuxt@1389
    
    npm i https://pkg.pr.new/nuxi@1389
    
    npm i https://pkg.pr.new/@nuxt/cli@1389
    

commit: 21c3388

Comment thread packages/nuxt-cli/src/commands/dev-child.ts Outdated
@danielroe danielroe changed the title fix(_dev): remove internal dev server command from public api fix(_dev,start): hide _dev and start commands from help output Jul 25, 2026
@danielroe
danielroe merged commit ed7fd74 into main Jul 25, 2026
19 checks passed
@danielroe
danielroe deleted the fix/_dev branch July 25, 2026 15:26
This was referenced Jul 25, 2026
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.

1 participant