Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dax/mod.ts>CommandBuilder#env

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
method CommandBuilder.prototype.env
Re-export
import { CommandBuilder } from "https://deno.land/x/dax@0.39.2/mod.ts";

Sets multiple environment variables to use at the same time via an object literal.

Parameters

items: Record<string, string | undefined>

Sets a single environment variable to use.

Parameters

name: string
value: string | undefined