Cli.roff: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7613-7618 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7613&end_line=7618 import Base # The man page of the command at the longest valid prefix of path (ยง11). def roff(c: Cmd, path: List<&2, String>) -> String: match c: case Cmd{+name, about, +items}: roff_view(view_walk(path, View{name, about, items, [], True{}, False{}}), join_filled([name, find_version(items)])) Uses (9): 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=View https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=find_version https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=join_filled https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=roff_view https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=view_walk