def belongs

cli@0.2.0.0 · cli.bend:5942

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

5942def belongs(found: Maybe<&2, String>, token: String) ->
5943    List<&2, List<&2, Segment>>:
5944  match found:
5945    case None{}: Nil{}
5946    case Some{path}:
5947      tip(String.concat(["'", token, "' belongs to subcommand '", path, "'"]))

Uses (6)

Used by (1)