Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print filtered gists with highlights conditional on included content #43

Merged
merged 4 commits into from
Oct 13, 2024

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
14 checks passed
@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.

1 participant