Cli.env_next: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3727-3732 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3727&end_line=3732 import Base # found, or else name's value in vars if it is set and not empty. def env_next(found: Maybe<&2, EnvValue>, +name: String, vars: List<&2, Var>) -> Maybe<&2, EnvValue>: match found: case Some{env}: Some{env} case None{}: env_present(name, var_value(vars, name)) Uses (7): 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=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=EnvValue 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_present https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=var_value