legal-markdown-js
Version:
Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version
21 lines • 774 B
TypeScript
/**
* File selection prompt for Interactive CLI
*
* This module handles the file selection process, providing users with
* options to select from discovered files, browse directories, or
* manually enter file paths.
*
* @module
*/
/**
* Prompt user to select an input file
*
* Initiates the file selection process by first checking if configuration is valid.
* If not, offers FTUX or defaults. Then scans the input directory and presents
* available files to the user, with fallback options for manual input.
*
* @returns Promise resolving to the absolute path of the selected input file
* @throws Error when user cancels or no valid file is selected
*/
export declare function selectInputFile(): Promise<string>;
//# sourceMappingURL=file-selector.d.ts.map