def roff

cli@0.2.0.0 · cli.bend:7613

import cli@0.2.0.0/cli.bend as Cli
import Base

7613# The man page of the command at the longest valid prefix of path (§11).
7614def roff(c: Cmd, path: List<&2, String>) -> String:
7615  match c:
7616    case Cmd{+name, about, +items}:
7617      roff_view(view_walk(path, View{name, about, items, [], True{}, False{}}),
7618        join_filled([name, find_version(items)]))

Uses (9)

Used by (1)