intercepting arguments before command execution #56
-
Is it possible to intercept and change the dynamic arguments before the command is triggered? So I want to edit the arguments/parameters to predfix the sent arguments with the correct path. How could I achieve this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @tomvanderputte, A way to achieve your use-case is to wrap your command in a script (using sh/bash/python/etc) that modifies the incoming arguments to the desired format before passing them to the actual command. And then expose this script instead of the actual command. |
Beta Was this translation helpful? Give feedback.
Hi @tomvanderputte,
A way to achieve your use-case is to wrap your command in a script (using sh/bash/python/etc) that modifies the incoming arguments to the desired format before passing them to the actual command. And then expose this script instead of the actual command.