def fish_builtin_lines

cli@0.2.0.0 · cli.bend:7166

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

7166# The built-ins, help first, which also holds after help (h).
7167def fish_builtin_lines(opts: List<&2, Opt>, +at: String, tags: String) ->
7168    List<&2, String>:
7169  match opts:
7170    case Nil{}: Nil{}
7171    case Opt{names, kind, ph, comp, help} <> tail:
7172      String.concat([at, tags, "' ", String.join(fish_flags(names), " "),
7173        " -d ", Fish.quote(help)]) <> fish_builtin_lines(tail, at, " n")

Uses (7)

Used by (1)