const { increment } = await io.display.progress('Migrating rows', {
max: rows.length
})
for (const row of rows) {
await migrateRow(row)
increment()
}
The label to render above the input.
Description to render. Default undefined
.
Renders a percentage of progress. Default false.
Max value. Default 100
.