"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
function _export(target, all) {
    for(var name in all)Object.defineProperty(target, name, {
        enumerable: true,
        get: Object.getOwnPropertyDescriptor(all, name).get
    });
}
_export(exports, {
    get migrateNotePagesToNotes () {
        return migrateNotePagesToNotes;
    },
    get migrateNotePagesToNotesCommand () {
        return migrateNotePagesToNotesCommand;
    }
});
const _commander = require("commander");
const _migrateDataInBatches = require("./migrateDataInBatches/migrateDataInBatches");
async function migrateNotePagesToNotes({ limit }) {
    return (0, _migrateDataInBatches.migrateDataInBatches)('NotePagesToNotes', {
        batchSize: limit
    });
}
const migrateNotePagesToNotesCommand = new _commander.Command('migrateNotePagesToNotes').description(`[Deprecated] Migrates note pages to notes (use migrateDataInBatches instead, it's identical but has more options)`).option('-l, --limit <number>', 'Batching size for migrating note_pages to notes').action(migrateNotePagesToNotes);

//# sourceMappingURL=migrateNotePagesToNotes.js.map