Args.strategy_err: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/args.bend as Args Lines 167-172 of cswap-bend-cli@0.1.0.0/args.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/args.bend&start_line=167&end_line=172 import Base def strategy_err(m: Maybe<&2, String>) -> String: match m: case None{}: "" case Some{+v}: err_if(Bool.not(has_str(v, ["best", "next-available"])), "argument --strategy: invalid choice: '" ++ v ++ "' (choose from 'best', 'next-available')") Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not 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=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/args.bend&name=err_if https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/args.bend&name=has_str