gs-download
Version:
Downloader of Genius Scan PDFs files
32 lines (31 loc) • 759 B
TypeScript
import commandLineArgs from 'command-line-args';
export declare const optionDefinitions: ({
name: string;
alias: string;
type: StringConstructor;
defaultValue: string;
description: string;
} | {
name: string;
alias: string;
type: NumberConstructor;
defaultValue: number;
description: string;
} | {
name: string;
alias: string;
type: BooleanConstructor;
defaultValue: boolean;
description: string;
})[];
export declare function displayHelp(): boolean;
export declare function executeDownload(options: commandLineArgs.CommandLineOptions): Promise<{
success: boolean;
files: string[];
error?: never;
} | {
success: boolean;
error: string;
files?: never;
}>;