Cli.builtin_page: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7657-7662 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7657&end_line=7662 import Base def builtin_page(man: Bool, c: Cmd, fields: List<&2, Field>) -> String: match man: case True{}: roff(c, field_values(field_find(fields, "command"))) case False{}: script(c, shell_named(head_part(field_values(field_find(fields, "shell"))))) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=Cmd 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=field_find https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=field_values https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=head_part https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=roff https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=script https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=shell_named