Hacker News new | past | comments | ask | show | jobs | submit login

Significantly harder problem, but what would be of most interest for me is for a program to offer this interface to an unannotated program (which will always be the majority). `trogon ffmpeg` or what have you. Theoretically, command line help is structured in a way it should be possible to parse, but I have no doubt there are many many non-compliant implementations that exist. I suppose you could lean on man files when they exist.



That is a tricky problem indeed.

I’m thinking a lot could be extracted from help and man pages. But maybe for some apps we could just write it by hand, or partially by hand.

These schemas could be in a repo and downloaded on demand.


I hate to be the broken record here but I bet chatgpt could read the man pages for any commandline app and develop a schema in the given format for it.

In fact I’d love to try to do that


there is a large collection of annotations for autosuggestion of commandline arguments for fish and other shells that should be usable too.




Join us for AI Startup School this June 16-17 in San Francisco!

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

Search: