def zsh_body

cli@0.2.0.0 · cli.bend:6945

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

6945def zsh_body(entries: List<&2, Entry>, specs: List<&2, String>,
6946    +items: List<&2, Item>, +lists: List<&2, List<&2, String>>,
6947    name: String, words: List<&2, String>, arms: List<&2, String>,
6948    ind: String) -> List<&2, String>:
6949  match entries:
6950    case Nil{}:
6951      zsh_args(ind, List.append(&2, String, specs,
6952        zsh_slots(completing(arg_slots(items, 1n, lists)))))
6953    case head <> tail:
6954      zsh_branch(head <> tail, specs, items, name, words, arms, ind)

Uses (10)

Used by (1)