rdme
Version:
ReadMe's official CLI and GitHub Action.
12 lines (11 loc) • 378 B
TypeScript
import type { Hook } from '@oclif/core';
export declare function normalizeAPIKey(value: string | undefined): string | undefined;
/**
* Retrieves stored user data values from env variables or configstore,
* with env variables taking precedent
*/
export default function getCurrentConfig(this: Hook.Context): {
apiKey?: string;
email?: string;
project?: string;
};