Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Feature] intercepting arguments before command execution #57

Open
eshaan7 opened this issue Nov 10, 2023 Discussed in #56 · 1 comment
Open

[New Feature] intercepting arguments before command execution #57

eshaan7 opened this issue Nov 10, 2023 Discussed in #56 · 1 comment
Labels
enhancement New feature or request

Comments

@eshaan7
Copy link
Owner

eshaan7 commented Nov 10, 2023

Discussed in #56

Originally posted by tomvanderputte November 6, 2023
Is it possible to intercept and change the dynamic arguments before the command is triggered?
The reason is: the arguments point to input/output files in a certain location. The application that sends the POST requests is not aware of this location (nor do I want it to be), so it sends only the filename.

So I want to edit the arguments/parameters to predfix the sent arguments with the correct path. How could I achieve this?

@eshaan7 eshaan7 added the enhancement New feature or request label Nov 10, 2023
@eshaan7 eshaan7 changed the title [Feature] intercepting arguments before command execution [New Feature] intercepting arguments before command execution Nov 10, 2023
@reinaldoacosta
Copy link

Supposedly the "args" should be available in the context parameter within the callback function, but when accessed using

def list_wallets(context, future):
  print(context) #nothing is printed out here

This is the sole reason why I had to drop this whole thing, I had to do my own solution from scratch (since I am not a python developer)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants