UNPKG

env-cmd

Version:

Executes a command using the environment variables in an env file

8 lines (7 loc) 268 B
import { Command } from 'commander'; import { EnvCmdOptions } from './types'; /** * Parses the arguments passed into the cli */ export declare function parseArgs(args: string[]): EnvCmdOptions; export declare function parseArgsUsingCommander(args: string[]): Command;