def arg_row

cli@0.2.0.0 · cli.bend:5367

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

5367def arg_row(parsed: Usage, usage: String, help: String,
5368    attrs: List<&2, Item>, long: Bool) -> Row:
5369  match parsed:
5370    case Parsed{id, +short, name, kind}:
5371      Row{option_left(usage), filled(short), String.is_empty(short),
5372        right_text(long, help, attrs)}
5373    case Invalid{col}:
5374      Row{[plain(usage)], False{}, False{}, right_text(long, help, attrs)}

Uses (11)

Used by (1)