Replies: 1 comment
|
Hi @graemeg , for the -m option it's already filtered by I'm seeing that at some point that list got shortened. It was supposed to be "compile|resolve|dependency-tree|install|clean|test|test|compile|process-resources|process-resources". AI is great but also stupid sometimes. I think -p just always works for everything. Internally it's already calling Not a big deal but pasbuild clean doesn't need -p option but it will still suggest it. Things like that. Again, any new options need updating in the bash script too. The 'compile' option is in 3 places. Two Lists about goals and one about supporting the --m option. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi @andrewd207 ,
Following on from the issue discussion: #8 (comment)
The current script already works really well. 👏 I haven't actually looked into detail how it works - or any bash completion script for that matter. But maybe what our one could do (if possible) is call 'pasbuild resolve' and parse all the possible profiles, modules and plug-ins detected by pasbuild. Then those could be presented as arguments for the
-pand-mtoo.Like I say, no idea how those scripts work, but if possible, that should make it more "context aware"... depending on which project you are in, the options for -p and -m will differ.
All reactions