def sug.cands

shake@0.7.0.0 · src/cli.bend:2372

import shake@0.7.0.0/src/cli.bend as Cli
import Base

2372# the long spellings of a command's arguments, in order
2373def sug.cands(args: List<&2, Arg>) -> List<&2, String>:
2374  match args:
2375    case Nil{}:
2376      []
2377    case Con{hh, tt}:
2378      Arg{_n, _s, long, _k, _h, _r, _d, _c} = hh
2379      sug.cands.put(long, sug.cands(tt))

Uses (4)

Used by (1)