def cluster.val.flag
import shake@0.7.0.0/src/cli.bend as Cliimport Base
858# a flag's value in a cluster: the rest when it starts with `=` (which
859# `take_arg` refuses), else none, so the next letter goes on
860def cluster.val.flag(eq: Bool, +rest: String) -> Maybe<&2, String>:
861 match eq:
862 case True{}:
863 Some{rest}
864 case False{}:
865 None{}