Skip to content

Conversation

@heaths
Copy link
Owner

@heaths heaths commented Oct 11, 2024

When --filter is passed, matches will be highlighted in the existing table. If file names match, the "n file(s)" cell will be highlighted.

When --include-content is additionally passed, the file name, description, and/or content will be printed like search code with matches highlighted.

@heaths heaths changed the title WIP: Print filtered gists similar to code search Print filtered gists similar to code search Oct 12, 2024
When `--filter` is passed, matches will be highlighted in the existing table. If file names match, the "n file(s)" cell will be highlighted.

When `--include-content` is additionally passed, the file name, description, and/or content will be printed like `search code` with matches highlighted.
@heaths heaths marked this pull request as ready for review October 12, 2024 09:07
@heaths heaths changed the title Print filtered gists similar to code search Print filtered gists with highlights conditional on included content Oct 12, 2024
@heaths heaths merged commit 63b218f into issue9704 Oct 13, 2024
@heaths heaths deleted the issue9704-alt branch October 13, 2024 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants