Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cliffy/packages/command/lib/command.ts>Command#getEnvVar

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
method Command.prototype.getEnvVar
import { Command } from "https://deno.land/x/cliffy@v0.10.0/packages/command/lib/command.ts";

Get environment variable with given name.

Parameters

name: string

Name of the environment variable.

optional
hidden: boolean

Include hidden environment variable.