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
I have been using GNU Make for some time now for project build aliases particular for Maven. Even with the new .mvn directory (jvm.config and maven.config). The only reason I use GNU Make is because it has builtin bash completion that I don't have to have someone go and install.
But GNU Make is not ideal for a variety of reasons one of which it does not provide automatic help of targets (ant does (ant -h IIRC) and I believe gradle and maven do as well) as well as no true multiple argument support (to do it requires some nasty hack that doesn't support completion).
Anyway I think the best way to accomplish this is to have two options:
One a true bash completion that requires installation on the users part
Interactive mode via JLine which will allow other platforms to work but requires you to first run the process.
I can attest that JLine is very good. Both Spring Roo and Spring boot use it. I have used it on some of my own tools in the past.
Support for bash completion of known tasks for a script would be incredibly useful and user-friendly. May require deeper integration with a terminal.
The text was updated successfully, but these errors were encountered: