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

Feature: Add --search option for saved conversations #413

Open
duluk opened this issue Jan 2, 2025 · 1 comment
Open

Feature: Add --search option for saved conversations #413

duluk opened this issue Jan 2, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@duluk
Copy link

duluk commented Jan 2, 2025

I have added feature to my fork. I was going to create a pull request and noticed the Contributing Guidelines requested creating an issue before the PR.

The feature is simple. The --search option will look through the titles in the database and return matches. It currently searches only the titles, but in the future I may add searching the gob files.

I wrote it similarly to listConversations(), so it uses selectFromList() for TTY or printList() otherwise.

Here's what it looks like:
Screenshot 2025-01-01 213058

@caarlos0 caarlos0 added the enhancement New feature or request label Jan 14, 2025
@caarlos0
Copy link
Member

that's cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants