On Windows, I have an executable rule which returns an executable in its default info. I would like to be able to return the commandline arguments to pass to that executable when you call bazel run. This executable is just a py_binary that gets passed into the rule, generating the commandline from the rule is the important bit.
What I want is the equivilant of passing in args as an attribute when you declare a target based on that rule.
I can write a batch file, and get it to call my binary, but for that to work I always need to pass --run_under=cmd which doesn't give an elegant interface.
Background info, what I want to do eventually is `bazel run //subasset:publish_outputs` and have the rule take care of all the dependency management and publishing parameters
Thanks
.