import ProgressBar from 'progress';
export default function withProgressBar(handler) {
    const progress = new ProgressBar('[:bar] :percent :message', {
        total: 100,
        complete: '=',
        incomplete: ' ',
        width: 100,
    });
    return handler(progress);
}
