Function SelectFileConverterPrompt

  • Presents a selection prompt to the user for choosing a file conversion task.

    This function displays a list of available file conversion options, including converting between JSON, CSV, and YAML formats. It also provides options to navigate back to the main menu or quit the application.

    Parameters

    • DIR: string

      The current directory path.

    • filename: string

      The current filename (not directly used in this function, but passed for consistency).

    Returns Promise<void>

    await SelectFileConverterPrompt('/path/to/directory', 'example.txt');