Skip to content

intercepting arguments before command execution #56

Answered by eshaan7
tomvanderputte asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by eshaan7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants