docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Build a command-line application that processes a list of files while displaying real-time progress feedback to the user.
Your application should:
The application should handle both TTY and non-TTY environments gracefully.
/**
* Process a list of files with progress feedback
* @param {string[]} files - Array of file paths to process
* @param {number} delay - Delay in milliseconds to simulate processing time per file
*/
function processFiles(files, delay);
module.exports = { processFiles };Provides command-line interface utilities including progress bar and spinner display functionality.