def color_want
import cli@0.2.0.0/cli.bend as Cliimport Base
5027def color_want(hyphen: Bool, +token: String) -> Prescan:
5028 match hyphen:
5029 case False{}: ColorSeek{Some{token}}
5030 case True{}:
5031 color_seek(String.eq(token, "--"), String.eq(token, "--color"),
5032 String.starts_with(token, "--color="), token, Some{""})