Cli.cluster.val.kind: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 867-880 of shake@0.7.0.0/src/cli.bend: https://jend.leeeet.dev/read.txt?path=shake@0.7.0.0/src/cli.bend&start_line=867&end_line=880 import Base # the value a letter of this kind gives its argument: an option takes the # rest of the word, after one `=` def cluster.val.kind(kk: ArgKind, +rest: String) -> Maybe<&2, String>: match kk: case Flag{}: cluster.val.flag(String.starts_with(rest, "="), rest) case Opt{}: short_of.val(String.starts_with(rest, "="), rest) case Many{}: short_of.val(String.starts_with(rest, "="), rest) case Pos{}: None{} case Rest{}: None{} Uses (6): 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=Base/base.bend&name=String.starts_with https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=ArgKind https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=cluster.val.flag https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=short_of.val