Is there any way to define passthru args in `pants...
# general
h
Is there any way to define passthru args in
pants.ini
so that they’re always used with that goal? For example, set
--test-pytest
to always use
-- -s
?
a
each task usually has a separate option for args
i think it’s called
--args
for pytest
h
a
sounds like it’s time to add it back? although i would love an excuse to expand the compiler_option_sets paradigm (or something) to have a consistent interface for passing args to tasks
h
I was suggesting to @hundreds-father-404 that we might want a common --passthrough mechanism that we can use with multiple goals
since
run
also needs this
something like what you did with --transitive for v1 consolet asks
h
@hundreds-breakfast-49010 we have a common mechanism in a V1 goal to say that it supports passthru, meaning for that goal it is meaningful to add command line args after
--
This feature I’d like is to then have a generic way to specify those passthru args via env vars or
pants.ini
w
i believe that @enough-analyst-54434 did something to unify passthrough and everything else... but i forgot what it was.
h