Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Accept arguments before command name (e.g. `vp -r run`)

Open
#2,983 0 comments 0 reactions 0 assignees View on GitHub

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
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
cli

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

pending triage
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

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from voidzero-dev/vite-plus

All issues in voidzero-dev/vite-plus

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.