Accept arguments before command name (e.g. `vp -r run`)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
- #2999 by @kshanxs — closed without merging
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 40/100
Research direction
The payload names no source files, so start by locating where the CLI parses the run subcommand and its --filter option. Check how top-level flags are handled before a subcommand, and whether a subcommand's flags can be read at the top level. Done means vp --filter backend run dev behaves the same as vp run --filter backend dev, with the existing ordering still working.
Written by the indexing model from the issue text.
Description
Description
I keep accidentally running vp --filter backend run dev, but viteplus refuses to accept --filter before run. pnpm is fine with this ordering of arguments.
Suggested solution
Accept --filter and other args before the specific command to run, instead of only after.
Validations
- Read the Contributing Guidelines.
- Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- Check that there isn't already an issue requesting the same feature.
- Dominant language
- Rust
- Stars
- 6k
- Forks
- 274
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 196
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from voidzero-dev/vite-plus
-
`npx --package=vite-plus vp create` fails with exit 127 when npm is the chosen package managerPossibly taken @Crimson341 claimed this 2 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
voidzero-dev/vite-plus#2970 ·
Maintainers usually reply within 1 day
-
pending triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
voidzero-dev/vite-plus#2882 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
voidzero-dev/vite-plus#2097 · 10 comments · 2 reactions ·
Maintainers usually reply within 1 day
-
vp treats a nested project as part of the parent's pnpm workspace, ignoring its own packageManager and lockfilePossibly taken @liangmiQwQ claimed this today. Openbug enhancement
voidzero-dev/vite-plus#3013 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
Windows: PowerShell installer (1.1.0) does not add vite-plus\bin to user PATH — 'vp' not recognizedPossibly taken @fengmk2 claimed this 1 day ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 30/100
voidzero-dev/vite-plus#2984 · 1 comment ·
Maintainers usually reply within 1 day
All issues in voidzero-dev/vite-plus
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
storytold/photocraft#5260 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
extendr/extendr.github.io#134 ·
-
awaiting-response bug
Difficulty 1/5 Under an hour Newbie friendliness 72/100
wildcard/caro#1655 · 1 comment ·
Maintainers usually reply within 1 day