fails when passing arguments separately
Open
Nobody has claimed this yet.
feat
low priority
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 51
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 1
Description
when I run shx rm -f -r dir it fails with the error path is a directory
but when I run the exactly same command but putting arguments together it success shx rm -fr dir
the command works without shx rm -f -r dir
tested on linux
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 by reproducing shx rm -f -r dir and compare it with shx rm -fr dir on Linux, then inspect the shx command entry point and argument handling. Done means separate -f and -r arguments work like the equivalent native rm command without the path is a directory error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, shell
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100