Cli.force_set: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5081-5086 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5081&end_line=5086 import Base def force_set(found: Maybe<&2, String>) -> Bool: match found: case None{}: False{} case Some{+value}: Bool.and(Bool.not(String.is_empty(value)), Bool.not(String.eq(value, "0"))) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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=Base/base.bend&name=String.eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.is_empty