Cli.cluster.ends.kind: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 891-904 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=891&end_line=904 import Base # whether a letter of this kind ends the cluster: every kind but a flag that # is not followed by `=` def cluster.ends.kind(kk: ArgKind, +rest: String) -> Bool: match kk: case Flag{}: String.starts_with(rest, "=") case Opt{}: True{} case Many{}: True{} case Pos{}: True{} case Rest{}: True{} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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