-
-
Notifications
You must be signed in to change notification settings - Fork 731
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
Add a "Prepend" extension for the ProcessArgumentBuilder #1281
Comments
In principal, I don't have a problem with this. The only suggestion would be the rather |
And yes, perhaps raise another issue for adding the Target property to the SignTool implementation. |
As @gep13 mentioned, |
Makes sense to me, I had been thinking about an Insert method that would allow a position to be specified but on further consideration this wouldn't make much sense. I'll start on a PR! |
@antwilliams thanks again for your contribution! |
It would be useful to add an
Insert
method for theProcessArgumentBuilder
to complement theAppend
method.This would allow additional arguments to be specified for tools that use the final argument as the target.
An example (and my motivation) of this is the SignTool command, I need to add an additional flag that isn't supported by the current tool implementation. If I use the
ArgumentCustomization
property the new flag is added to the end of the arguments and then SignTool interprets this as a filename to try and sign.The flag I require could be added to the SignTool implementation but that would only resolve this specific use case, I would imagine that there are many tools that use the final argument as the input filename and this modification would enable those scenarios as well.
I am willing to submit a PR for this if there is interest in the improvement.
The text was updated successfully, but these errors were encountered: