Vary Stdin for Create/Update/Delete #250
Labels
impact/accessibility
Something that is difficult or impossible for some people to use
kind/enhancement
Improvements or new features
Hello!
Issue details
Currently, there is a single
Stdin
property, which, when set, will be used in all the supported actions. This is somewhat odd, because we might want to use a different input/script for each action.For example, this is what I'm currently using in C# (the full example at https://github.com/rgl/dotnet-pulumi-libvirt-ubuntu-example/blob/main/Program.cs):
And the suggestion is to have:
CreateStdin
UpdateStdin
DeleteStdin
And their
Stdout
/Stderr
counterparts.Or, simplify the
Command
interface, and replace theCreate
/Update
/Delete
properties with a singleCommand
, and just set an environment variable with the action being executed and let the command handle it internally?Affected area/feature
The text was updated successfully, but these errors were encountered: