def by_name

cswap-bend-cli@0.1.0.0 · profswitch.bend:143

import cswap-bend-cli@0.1.0.0/profswitch.bend as Profswitch
import Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
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
import cswap-bend-cli@0.1.0.0/profile.bend as P

143def by_name(+is_default: Bool, +p: P.Prof, +ctx: SBase.Ctx, +raw: Json.Json, +ident: Maybe<&2, String>, +force: Bool, +strategy: Maybe<&2, String>, +model: Maybe<&2, String>, +json: Bool) -> IO(Cmd.Out):
144  match is_default:
145    case True{}:
146      legacy(ctx, ident, force, strategy, model, json)
147    case False{}:
148      with_opts(p, ctx, raw, json)

Uses (10)

Used by (1)