bahmutov / bahmutov/stop-only

Does it work with --exclude option on Linux?

Open
#200 0 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
11
Forks
5
PR merge metrics
No merged PRs in 30d

Description

```
> @bahmutov/cy-grep@0.0.0-development stop-only
> stop-only --folder cypress/e2e --exclude cypress/e2e/only/check-only.cy.js

stop-only arguments
{
_: [],
warn: false,
w: false,
folder: 'cypress/e2e',
f: 'cypress/e2e',
exclude: 'cypress/e2e/only/check-only.cy.js',
e: 'cypress/e2e/only/check-only.cy.js'
}
2026-03-24T04:13:49.686Z stop-only split folders [ 'cypress/e2e' ]
grep arguments
[
'--line-number',
'--recursive',
'--extended-regexp',
'(describe|context|it)\\.only',
'--exclude',
'cypress/e2e/only/check-only.cy.js',
'cypress/e2e'
]
Found .only here 👎
cypress/e2e/only/check-only.cy.js:10:it.only('b', { tags: '@one' }, () => {})
```
Seems to be ignored on Ubuntu?

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported command on Ubuntu: `stop-only --folder cypress/e2e --exclude cypress/e2e/only/check-only.cy.js`. Inspect how the CLI passes `--exclude` to grep and compare the behavior with the printed arguments. Done means the excluded file is not reported on Linux.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.