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

x/alloy_folk/deps.ts>cliffy.Command#getEnvVar

An application installer for restriced macOS
Go to Latest
method cliffy.Command.prototype.getEnvVar
Re-export
import { cliffy } from "https://deno.land/x/alloy_folk@v1.1.1/deps.ts";
const { Command } = cliffy;

Get environment variable by name.

Parameters

name: string

Name of the environment variable.

optional
hidden: boolean

Include hidden environment variable.

Returns

IEnvVar | undefined