Skip to main content
Module

x/mod/deps.ts>Command#getGlobalEnvVar

Simple Command Line Interface to create Deno module entrypoints, CI, config and more.
Latest
method Command.prototype.getGlobalEnvVar
Re-export
import { Command } from "https://deno.land/x/mod@v2.3.9/deps.ts";

Get global environment variable by name.

Parameters

name: string

Name of the environment variable.

optional
hidden: boolean

Include hidden environment variable.

Returns

IEnvVar | undefined