and now that i’m here — from a goal rule — is ther...
# general
f
and now that i’m here — from a goal rule — is there an idiomatic way to build a request for a target that would run the equivalent of
./pants $goal $address
… i’m struggling with finding the correct way to “wrap” / hydrate my target — is there a way to achieve this without having to dig into the internals of how the run request is implemented in a certain backend?
h
I don’t think there is a generic way to do that, given a string name of a goal, although that’s not a bad idea.
Is this for a specific goal though?
Can you give a little more context?
f
yes, could be run on a
docker_image
for instance
i think i need to answer another question for myself — what does it actually mean to depend on a target … with respect to its outputs?