Replies: 2 comments 1 reply
-
I can see the value, but not sure it can be implemented while allowing the full breadth of needed functionality and keeping the configuration file simple. For example, with this command :
If you were to write in the standard completely syntax, you would probably do something like this:
so this already breaks outside the mold of "one completely configuration per dynamic task" Am I wrong? |
Beta Was this translation helpful? Give feedback.
-
That is true, yes. The only solution I can currently think of is that |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to use the patterns from every YAML section for more dynamic completions? For example, let's say I have a command
taskrunner
that loads its tasks as commands from a file. So you dotaskrunner task1
ortaskrunner task2
. Right now this completion is possible with the following:Now, say that each task could have its own arguments, like
taskrunner task1 --file f.txt
ortaskrunner task2 --version
. Since I cannot write the tasks statically in the YAML, I have to dotaskrunner *:
. I can get the argument information from the taskrunner like so:taskrunner --get-arguments-for-task task1
. Is there a way I could do the following?If not, it would be a nice feature to have.
Beta Was this translation helpful? Give feedback.
All reactions