def builtin_row

cli@0.2.0.0 · cli.bend:5443

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

5443# A built-in option row, without its short when an app arg took it.
5444def builtin_row(taken: Bool, short: String, long: String,
5445    text: String) -> Row:
5446  match taken:
5447    case True{}: Row{bold_names([long], True{}), False{}, True{}, text}
5448    case False{}:
5449      Row{bold_names([short, long], True{}), True{}, False{}, text}

Uses (5)

Used by (2)