Cli.has_variadic_pos: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 2729-2735 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=2729&end_line=2735 import Base def has_variadic_pos(items: List<&2, Item>) -> Bool: match items: case Nil{}: False{} case Arg{usage, help, attrs} <> tail: Bool.or(usage_kind(~kind_variadic_pos, parse_usage(usage)), has_variadic_pos(tail)) case head <> tail: has_variadic_pos(tail) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=kind_variadic_pos https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=parse_usage https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=usage_kind