Allow to set the command programatically - #43
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Hi @jackfranklin, is this still maintained? I am just asking because I currently run a fork to support this feature. I would really like to use this plugin to reduce the amount of custom code I manage. But if it is no longer maintained I might switch to something fully custom either way to ensure everything is up to date 😄 |
|
Hey sorry, I completely missed this. I will take a look. |
|
Some thoughts:
There are some further thoughts I have but I think the two above are the main concerns, I would like to think more about the API we expose here. Mainly: do you want prepopulated input fields, or just a programmatic solution that avoids the UI? I think we need to decide that, before we figure how best to support it. |
|
No worries, thanks for the quick reply. Regarding your points:
So long story short: I would be more interested in a way to control the executor fully programmatically without any UI interactions needed. |
|
OK, I think in that case we need some new API for this. Is what we currently have. What if we expose |
|
Yup, exposing |
|
@jackfranklin I realized that if we expose some of the "internal" API of the The only thing at the moment is that |
Signed-off-by: Jakob Beckmann <f4z3r-github@pm.me>
|
Sorry I missed this! Your PR looks good. Let's make So the public API function should wrap the existing API but check for a cmd (as an arg or stored) and error if it doesn't have one. |
Signed-off-by: Jakob Beckmann <f4z3r-github@pm.me>
Fixes #42