def first_option_name

cli@0.2.0.0 · cli.bend:2945

import cli@0.2.0.0/cli.bend as Cli
import Base

2945def first_option_name(+token: String) -> String:
2946  Bool.pick(String, String.starts_with(token, "--"),
2947    before_equal(token), String.take(token, 2n))

Uses (5)

Used by (2)