Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's actually because they stayed compatible that the problem arises: fd and find -type mean the same but this user wants them to be different.

Overall, I use AI shell completion so it's much smoother.



I’ve been thinking of adding AI completion into my CLI tools but not really sure how to implement it in a non-intrusive way. So I’ve got a few questions, if you don’t mind sharing:

What’s the workflow like for AI shell completion?

How does it know which flag to complete for you? Do you write a description in native language (eg English) and it completes the entire command line? Or is it more one flag at a time?


Ah I do it from the other side

Got it from here

https://x.com/arjie/status/1575201117595926530?s=46


Interesting. Thanks for sharing.

That gives me some ideas to try myself.


Good luck. Do share if any are sticky!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: