andrade-soulseek-downloader
Version:
Simple, safe Soulseek download library with built-in rate limiting to prevent bans
35 lines • 908 B
TypeScript
import { DownloadConfig } from '../../shared';
/**
* CLI handler for Soulseek downloader.
* Manages command-line interface interactions.
*/
export declare class CLIHandler {
private logger;
constructor();
/**
* Parses command-line arguments.
* @returns Parsed artist and title or null if invalid
*/
parseArguments(): {
artist: string;
title: string;
} | null;
/**
* Creates download configuration from environment variables.
* @returns Download configuration
*/
createConfig(): DownloadConfig;
/**
* Displays welcome message and download info.
*/
displayHeader(artist: string, title: string): void;
/**
* Displays download result.
*/
displayResult(result: string | null): void;
/**
* Main CLI execution flow.
*/
run(): Promise<void>;
}
//# sourceMappingURL=cli-handler.d.ts.map