Command

bengal.debug.migrate

Preview and execute content migrations.

Safely move, split, or merge content while maintaining link integrity and generating redirect rules.

Usage

bengal.debug.migrate [OPTIONS]

Options

Option Type Description
--dry-run flag BOOLEAN

Show what would be done without making changes

--execute flag BOOLEAN

Execute the move (requires --move)

--move TEXT

Preview moving SOURCE to DESTINATION

--generate-redirects CHOICE

Generate redirect rules for moves

--traceback CHOICE

Traceback verbosity

Examples

    bengal debug migrate
    bengal debug migrate --move docs/old.md guides/new.md
    bengal debug migrate --move docs/old.md guides/new.md --execute
    bengal debug migrate --move docs/old.md guides/new.md --dry-run