def targeted_out
cswap-bend-cli@0.1.0.0 · profswitch.bend:166
import cswap-bend-cli@0.1.0.0/profswitch.bend as Profswitch
import Base
import cswap-bend-cli@0.1.0.0/cmd.bend as Cmd
import cswap-bend-cli@0.1.0.0/store/base.bend as SBase
166def targeted_out(+over: Maybe<&2, String>, +ctx: SBase.Ctx, +ident: Maybe<&2, String>, +force: Bool, +strategy: Maybe<&2, String>, +model: Maybe<&2, String>, +json: Bool) -> IO(Cmd.Out):
167 match over:
168 case Some{o}:
169 usage_err("--profile can only be used with a bare 'switch' (no target and no --strategy)")
170 case None{}:
171 legacy(ctx, ident, force, strategy, model, json)