-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shell completion #126
Comments
It seems to me that cmdliner could help generating the completion. Most of the information in these scripts is already present in the description of the command line built with cmdliner |
In that case, this issue is blocked by dbuenzli/cmdliner#1. |
I wouldn't say blocked, I'd welcome manually written scripts to support it. Although I'm not excited by the maintenance burden. |
Some news about this feature request: we are now using our own fork of cmdliner. So if someone wants to work on this feature, it is acceptable to implement the feature in our fork. This should be easier than submitting it upstream given that it only needs to work for Dune rather than for everybody. |
The links to the opam's complete script are invalid now. I would also suggest a shell completion for |
Shell completion, similar to opam's would be useful and remove the need to write Makefiles in order to remember jbuilder's commands and build targets. I.e., when you type
jbuilder build <tab>
, it should list all build targets andjbuilder <tab>
should list jbuilder's commands.For reference, opam's completion scripts are here:
The text was updated successfully, but these errors were encountered: