Cli.first_option_name: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 2945-2947 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=2945&end_line=2947 import Base def first_option_name(+token: String) -> String: Bool.pick(String, String.starts_with(token, "--"), before_equal(token), String.take(token, 2n)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick 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=Base/base.bend&name=String.take https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=before_equal