def color_flag

cli@0.2.0.0 · cli.bend:5065

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

5065def color_flag(enabled: Bool, argv: List<&2, String>) -> Maybe<&2, Bool>:
5066  match enabled:
5067    case True{}: color_pick(color_scan(argv, ColorSeek{None{}}))
5068    case False{}: None{}

Uses (7)

Used by (1)