lemon-core
Version:
Lemon Serverless Micro-Service Platform
11 lines (10 loc) • 557 B
TypeScript
export declare const loadJsonSync: <T extends object = any>(name: string, def?: {}) => T;
export declare const asyncCredentials: (profile: string) => Promise<unknown>;
export declare const credentials: (profile: string) => string;
export declare const hasCredentials: () => boolean;
export declare const loadDataYml: <T extends object = any>(file: string, folder?: string) => T;
interface AdaptiveParam<T> {
(name: string, defval: T, argv?: string[]): T;
}
export declare const getRunParam: AdaptiveParam<boolean | number | string | object>;
export {};