Skip to main content
Module

x/drake/lib/env.ts>Env

Drake is a make-like task runner for Deno.
Go to Latest
class Env
import { Env } from "https://deno.land/x/drake@v1.6.0/lib/env.ts";

Factory class for creating environment functions.

Constructors

new
private
Env()

Properties

private
values: EnvValues

Methods

private
setValue(name: string, value: EnvValue)

Set command-line options and variables.

parseArgs(args: string[]): void

Parse command-line arguments.

Static Methods

create(): EnvFunction

Return a new environment getter/setter function with this set to a new Env object.