Function CompileDeclarationsFilesPrompt

  • Prompts the user for input to create index files within a specified directory. It gathers information such as the source directory and the desired file name for the index files. It then utilizes the CompileDeclarationsFiles class to generate the index files.

    Parameters

    • folderPath: string

      The base folder path where the operation will take place. (Currently not used in the function's logic)

    • outputName: string

      The desired output name for the generated files. (Currently not used in the function's logic)

    Returns Promise<void>


    // Example usage:
    await CompileDeclarationsFilesPrompt('/path/to/my/project', 'my-output');
    // This will prompt the user for the source directory and file name, then generate index files.