Check.reads.cmd: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/check.bend as Check Lines 221-228 of shake@0.7.0.0/src/check.bend: https://jend.leeeet.dev/read.txt?path=shake@0.7.0.0/src/check.bend&start_line=221&end_line=228 import Base import shake@0.7.0.0/src/cli.bend as C # the arguments of the command a path names below the command found, each # name a subcommand of the command before it, or None def reads.cmd(path: List<&2, String>, here: Maybe<&2, C.Sub>) -> Maybe<&2, List<&2, C.Arg>>: match path: case Nil{}: reads.args(here) case Con{+hh, tt}: reads.cmd(tt, reads.down(here, hh)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/check.bend&name=reads.args https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/check.bend&name=reads.down https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Arg https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Sub