[CLI] add error handling for incorrect arguments
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 140
- Forks
- 100
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 30
Description
We currently handle unknown commands
but not unknown arguments for those commands.
Adding error handling for this would be a huge dev expereince win for theme authors.
Contributor 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.
Research direction
Start in bin/paragon-scripts.js around line 260, where unknown commands are currently handled, and trace how arguments are parsed for each command. Done means incorrect arguments produce clear error handling rather than being silently accepted, while existing unknown-command handling continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli, developer-experience
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100