Repository navigation
feat: add find and grep aliases for search - #162
Merged
Merged
Conversation
Use the existing search command and Cobra alias field. Document literal-query escapes and mark only this roadmap slice shipped. Prior-Art: spf13/cobra command_test.go L274-L282 (Apache-2.0) @88b30ab89da2d0d0abb153818746c5a2d30eccec -> internal/cli/cli.go
Add the exact published roadmap source for the already-planned alias vocabulary. Runtime assignment, help and handlers are unchanged. Prior-Art: spf13/cobra command_test.go L274-L282 (Apache-2.0) @88b30ab89da2d0d0abb153818746c5a2d30eccec -> internal/cli/cli.go Prior-Art: MoonCaves/rawclaw ROADMAP.md L136-L139 (MIT) @e0420b85a30f2b4f562d72e531bcab64f23b6aa9 -> internal/cli/cli.go
MoonCaves
marked this pull request as ready for review
November 17, 2026 09:39
Remove only the custom search Long field. Native Cobra help already lists search, find and grep, the search usage and the existing query flag. Keep the accepted baseline Short and handler unchanged; README retains measured literal-query guidance. Prior-Art: spf13/cobra command_test.go L274-L282 (Apache-2.0) @88b30ab89da2d0d0abb153818746c5a2d30eccec -> internal/cli/cli.go Prior-Art: MoonCaves/rawclaw internal/cli/cli.go L169-L180 (MIT) @e0420b85a30f2b4f562d72e531bcab64f23b6aa9 -> internal/cli/cli.go Prior-Art: MoonCaves/rawclaw ROADMAP.md L136-L139 (MIT) @e0420b85a30f2b4f562d72e531bcab64f23b6aa9 -> internal/cli/cli.go
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Cobra's native
findandgrepaliases forsearch, as planned in the published roadmap. Both names use the existing search handler. Native help lists the aliases, search usage and--query; the README documents how to search for a literal leadingfindorgrep.Validation:
CI on the merged head completed successfully: lint, Go 1.24.0 and stable builds with race tests.