Cli.env_force: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5093-5098 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5093&end_line=5098 import Base def env_force(force: Bool, +vars: List<&2, Var>) -> Maybe<&2, Bool>: match force: case True{}: Some{True{}} case False{}: env_off(Bool.or(var_is(var_value(vars, "CLICOLOR"), "0"), var_is(var_value(vars, "TERM"), "dumb"))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Var https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=env_off https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=var_is https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=var_value