Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/windmill/mod.ts>setVariable

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function setVariable
import { setVariable } from "https://deno.land/x/windmill@v1.246.4/mod.ts";

Set a variable by path, create if not exist

Parameters

path: string

path of the variable

value: string

value of the variable

optional
isSecretIfNotExist: boolean

if the variable does not exist, create it as secret or not (default: false)

optional
descriptionIfNotExist: string

if the variable does not exist, create it with this description (default: "")

Returns

Promise<void>