UNPKG

@uigstudio/gitlab-env

Version:

13 lines (12 loc) 461 B
import * as argv from 'minimist'; import { ArgsType, ConfigType } from './types'; export declare const parseArgs: () => argv.ParsedArgs; export declare const arg: (shortKey: string, key: string, defaultValue?: string) => any; declare type ConfigFile = { api: string; token: string; }; export declare const readConfigFile: (file: string) => ConfigFile; export declare const args: () => ArgsType; export declare const config: () => ConfigType; export {};