Replies: 1 comment
-
Hi Michael. No, this is not possible. The bashly completion function is provided by Completely and does not have any notion of "word position" in the input line. which is what your requirement needs. The best option you have is using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello DannyBen
First of all, thank you for this cool tool! Unfortunately I only stumbled upon it now.
I want to realize a script with multiple required arguments of different types and so different completion lists for each argument.
In my naive approach I tried following:
but using "completions" in "args" ist not supported from bashly.
Also using "allowed:" is not a option, because it mixed up both lists.
I am aware that this can be achieved with flags, like
./cli host assign --vserver <vserver> <host>
But this notation doesn't fit into my existing environment.
Is there a configuration way to get this behavior?
Thanks and best regards
Michael
Beta Was this translation helpful? Give feedback.
All reactions