logoalt Hacker News

indigodaddytoday at 7:19 PM1 replyview on HN

So is this kind of like a super-powered tealdeer ?


Replies

gioscarabtoday at 7:35 PM

tealdeer just shows you a cheatsheet, termy can effectively take a prompt and execute a command, example:

$ termy create file test.txt and write Hello

TERMy | template match | Confidence: 100.00%

Thinking: Ok, I am asked to create the file test.txt.

echo 'Hello' > 'test.txt' && termy_set_context 'active_file' 'test.txt'

Description: Writes Hello in file test.txt.

Response: Affirmative

Now that I think about it, I should let TERMy use tldr...