Commit Graph

4 Commits

Author SHA1 Message Date
oijkn c0dda07665 Enhance prompt finder functionality and user interaction
Comprehensive update to the PromptFinder script, introducing several key enhancements:

- Implemented case-insensitive and partial match search in the 'act' column for more flexible user queries.
- Added automatic selection for a single search result to streamline the user experience.
- Improved the display of multiple search results to include both 'act' and 'prompt' values, providing users with clear context for each choice.
- Integrated KeyboardInterrupt handling to gracefully handle user interruptions and ensure a clean exit from the script.

These changes significantly improve the script's usability and robustness, offering a more user-friendly and reliable experience.
2024-01-23 11:27:14 +01:00
Joshua Aresty 3ee3610836 find-prompt now takes an argument and also only prints the prompt in the output 2023-10-16 18:46:39 -07:00
Joshua Aresty 19990c8662 Make find-prompt executable 2023-10-15 20:46:03 -07:00
Joshua Aresty eab7244941
Add helper script to search for a prompt by name 2023-10-15 20:43:05 -07:00