def profile_export_out

cswap-bend-cli@0.1.0.0 · cfgio.bend:325

import cswap-bend-cli@0.1.0.0/cfgio.bend as Cfgio
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/profile.bend as P

325def profile_export_out(m: Maybe<&2, String>, +raw: Json.Json) -> Cmd.Out:
326  match m:
327    case None{}:
328      Cmd.doc(all_profiles(raw))
329    case Some{+name}:
330      one_profile(P.has_stored(raw, name), raw, name)

Uses (8)

Used by (1)