Cli.sample_field: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 4912-4919 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=4912&end_line=4919 import Base def sample_field(build: FieldBuild, info: ArgInfo) -> List<&2, Field>: match build: case Built{Nil{}}: match info: case ArgInfo{id, usage, short, long, kind, attrs}: [Field{id, [sample_value(kind, attrs)], Argv{}}] case Built{fields}: fields case BuildFault{fault}: Nil{} Uses (6): 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=ArgInfo https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Field https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=FieldBuild https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Src https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=sample_value