@darkobits/saffron
Version:
Yargs + Cosmiconfig for robust, configurable CLIs.
64 lines (63 loc) • 2.08 kB
TypeScript
declare const _default: {
cosmiconfigOptions: import("@darkobits/valida/dist/etc/types").Validator<{
auto: boolean | undefined;
searchFrom: string | undefined;
fileName: string;
key: string | undefined;
}, {
auto?: boolean | undefined;
searchFrom?: string | undefined;
fileName?: string;
key?: string | undefined;
}>;
saffronCommand: import("@darkobits/valida/dist/etc/types").Validator<{
command: string | undefined;
description: string | undefined;
aliases: string | string[] | undefined;
strict: boolean | undefined;
config: boolean | object;
builder: Function | undefined;
handler: Function;
}, {
command?: string | undefined;
description?: string | undefined;
aliases?: string | (string | undefined)[] | undefined;
strict?: boolean | undefined;
config?: boolean | object;
builder?: {
apply?: {};
call?: {};
bind?: {};
toString?: {};
prototype?: unknown;
readonly length?: number;
arguments?: unknown;
caller?: /*elided*/ any;
readonly name?: string;
[Symbol.hasInstance]?: {};
[Symbol.metadata]?: {
[x: string]: {} | undefined;
[x: number]: {} | undefined;
[x: symbol]: {} | undefined;
} | null;
} | undefined;
handler?: {
apply?: {};
call?: {};
bind?: {};
toString?: {};
prototype?: unknown;
readonly length?: number;
arguments?: unknown;
caller?: /*elided*/ any;
readonly name?: string;
[Symbol.hasInstance]?: {};
[Symbol.metadata]?: {
[x: string]: {} | undefined;
[x: number]: {} | undefined;
[x: symbol]: {} | undefined;
} | null;
};
}>;
};
export default _default;