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

x/actionify/src/deps/cli.ts>Command#parseEnvVars

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
method Command.prototype.parseEnvVars
Re-export
import { Command } from "https://deno.land/x/actionify@0.3.0/src/deps/cli.ts";

Read and validate environment variables.

Parameters

envVars: Array<IEnvVar>

env vars defined by the command

optional
validate = [UNSUPPORTED]

when true, throws an error if a required env var is missing

Returns

Promise<Record<string, unknown>>