Is there any bash completion available for pants 2...
# general
c
Is there any bash completion available for pants 2?
h
There is not, but we had it in v1 and we’d love to add it back. Would you be interested possibly in adding that? I imagine the v1 implementation will be similar, and we’d be happy to write up some instructions No worries if not. Otherwise, opening a GitHub issue at https://github.com/pantsbuild/pants/issues would be helpful so we can track it and try to fit it in
c
I can look into adding it, but creating an issue does seem like a good first step
🎉 1
h
Indeed, that’s usually how we start. If you have a moment, that’d be helpful for you to open the issue and then we can add some thoughts on how to implement it
c
h
thanks for adding the issue, shell completion is a nice quality of life feature
👍 1
h
@happy-kitchen-89482 thoughts on if shell autocompletion should be through the help system vs. a dedicated goal? I think a goal makes sense so that you could do
./pants shell-completion --shell=zsh
. Note that we also must write to the build root I’m not sure how in a rule to request all subsystem info
Noah, I added some questions on what the User API should look like. Thoughts appreciated on those two questions!