def store
import cswap-bend-cli@0.1.0.0/profile.bend as Profileimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
import cswap-bend-cli@0.1.0.0/setload.bend as Setload
287# settings.json with the profile stored (created or replaced).
288def store(+raw: Json.Json, +p: Prof) -> Json.Json:
289 Json.set("profiles", store.at(p, obj_of(Json.get("profiles", raw))), Setload.with_version(raw))