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

x/dax/src/command.ts>CommandBuilder#env

Cross platform shell tools for Deno inspired by zx.
Extremely Popular
Go to Latest
method CommandBuilder.prototype.env
import { CommandBuilder } from "https://deno.land/x/dax@0.24.0/src/command.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