def fp.pick
import cswap-bend-cli@0.1.0.0/collect.bend as Collectimport Base
158def fp.pick(m: Maybe<&2, String>, +creds: String) -> IO(String):
159 match m:
160 case Some{rt}:
161 fp.rt("sha256:", rt)
162 case None{}:
163 fp.rt("sha256-full:", creds)