Cli.color_attrs: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 4992-4998 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=4992&end_line=4998 import Base # Rules 1 and 2 apply only to color() exactly as declared. def color_attrs(attrs: List<&2, Item>) -> Bool: match attrs: case Con{OneOf{values}, Con{AttrDefault{value}, Con{Global{}, Nil{}}}}: Bool.and(String.eq(String.join(values, " "), "auto always never"), String.eq(value, "auto")) case _: False{} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.join https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Item