You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Or even generate consistent CLIs for more than one programming language... (WIP, only bash atm).
I'd highly recommend to check out the discussion around pcapriotti/optparse-applicative#414, about the potential for a standard.
This is the third project I'm aware of that has an ambition to implement this kind of feature, which really should be a standard protocol.
The oil shell shellac attempt fizzled out, but I believe the optparse-applicative protocol I'm suggesting there holds promise because - it being line-based - it is easy to parse by any shell, and it allows arbitrary extensions to completion item metadata.
The text was updated successfully, but these errors were encountered:
Nice timing for this, because I have no idea how that completion system would work and where we can put this code. We want to do this generic enough, so extending for some exoteric shell that very few people uses could be trivial giving the required structure leverage.
I think this project needs more specification, more discussion about how it will be structured, but some ideas are already steering how it will work, like passing the parameter values as environment variables to the payload script.
It has good completion semantics for the go language and also seems to expand. But it also lacks of a formalized protocol or interface ambition, although it seems to work up its way to eventually get there?
First off, cool project!
I noticed this in your README:
I'd highly recommend to check out the discussion around pcapriotti/optparse-applicative#414, about the potential for a standard.
This is the third project I'm aware of that has an ambition to implement this kind of feature, which really should be a standard protocol.
The oil shell
shellac
attempt fizzled out, but I believe the optparse-applicative protocol I'm suggesting there holds promise because - it being line-based - it is easy to parse by any shell, and it allows arbitrary extensions to completion item metadata.The text was updated successfully, but these errors were encountered: