> should I be able to request `ClocBinary` (or ...
# development
w
should I be able to request
ClocBinary
(or any other class representing a binary tool) as a subject of an
@rule
?
yes, with an
optionable_rule
, because it is a
Subsystem
h
I don't 100% understand how `optionable_rule`s work
it seems like, from files like
create_requirements_pex.py
, that if I want to use a subclass of
Subsystem
as a rule input
I need to have
optionable_rule(Subsystem)
in the
rules()
output of my module?
w
yes
optionable_rule
creates a
@rule
that constructs an
Optionable
(which is a super class of
Subsystem
)