Is there a complete list of the different paramete...
# general
r
Is there a complete list of the different parameters available to goal rules? I'm trying to define a goal that takes an additional command line argument.
b
I think you can add additional parameters by defining
...Option
class vars on a
GoalSubsystem
, e.g. https://github.com/pantsbuild/pants/blob/710c198c2fad01581582367f72b11f85efbe9d8c/src/python/pants/core/goals/test.py#L503 is what defines the
pants test --debug
option.
(searching for
TestSubsystem
in that file has some hints about how it is used)