def resolve_argv_gather

cli@0.2.0.0 · cli.bend:3799

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

3799def resolve_argv_gather(gather: Gather, +info: ArgInfo,
3800    h: Host) -> FieldBuild:
3801  match gather:
3802    case Gather{True{}, values, count}:
3803      match info:
3804        case ArgInfo{id, usage, short, long, kind, attrs}:
3805          Built{[Field{id, apply_delim(find_delim(attrs),
3806            List.reverse(&2, String, values)), Argv{}}]}
3807    case Gather{False{}, values, count}:
3808      resolve_env_default(host_env(h, info_envs(info)), info)

Uses (15)

Used by (1)