Cli.looks_flag: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 219-221 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=219&end_line=221 import Base # whether a string is a flag token (`-` alone is not) def looks_flag(+ss: String) -> Bool: Bool.and(String.starts_with(ss, "-"), Bool.not(String.eq(ss, "-"))) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.starts_with