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

x/lume/deps/cliffy.ts>Command#getGlobalEnvVar

🔥 Static site generator for Deno 🦕
Very Popular
Latest
method Command.prototype.getGlobalEnvVar
Re-export
import { Command } from "https://deno.land/x/lume@v2.4.1/deps/cliffy.ts";

Get global environment variable by name.

Parameters

name: string

Name of the environment variable.

optional
hidden: boolean

Include hidden environment variable.

Returns

EnvVar | undefined