-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Currently find and grep commands fail when used by Claude or executed using rtk directly.
grep seems to be addressed by #135 however I don't see anything for find.
Problem
The following command:
rtk find . -name testreturns
error: unexpected argument '-n' found
tip: to pass '-n' as a value, use '-- -n'
Usage: rtk find [OPTIONS] <PATTERN> [PATH]
For more information, try '--help'.Likewise, the following command:
rtk grep -n test CLAUDE.md
returns
error: unexpected argument '-n' found
tip: to pass '-n' as a value, use '-- -n'
Usage: rtk grep [OPTIONS] <PATTERN> [PATH] [EXTRA_ARGS]...
For more information, try '--help'.
Expected behaviour
I expect the commands to work exactly the same way as they would without prefixing them with rtk.
Technical analysis
Other commands which include -n, such as rtk git log -n 1, work without any issues.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels