Cli.find_default: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1626-1630 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1626&end_line=1630 import Base def find_default(items: List<&2, Item>) -> Maybe<&2, String>: match items: case Nil{}: None{} case AttrDefault{value} <> tail: Some{value} case head <> tail: find_default(tail) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Item