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

x/opinecli/deps.ts>Command#getGlobalEnvVar

Opine's application generator
Latest
method Command.prototype.getGlobalEnvVar
Re-export
import { Command } from "https://deno.land/x/opinecli@2.0.0/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