electron-userland / electron-userland/electron-webpack
`npx electron-webpack dev -- --version` improper behavior
- Dominant language
- TypeScript
- Stars
- 902
- Forks
- 168
- PR merge metrics
- No merged PRs in 30d
Description
* **Version**: 2.7.4
* **Target**: MacOS
When running `npx electron-webpack dev -- --version`, my program receives `-- --version` as input `argv`, which is wrong. The `--` should be consumed by `electron-webpack` as this is a standard way to tell that all args after `--` should be passed to the sub-command.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `npx electron-webpack dev -- --version` on the reported setup, then trace the `electron-webpack dev` command's argument parsing. Done means the separator is consumed and the Electron program receives only `--version`, with the existing command behavior preserved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript, webpack
- Domain
- cli, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100