Execute the refactor-index command, converting a README.md to index.md or an index.md to
README.md in place with automatic link updates.
This is the entry point for the CLI command. It reports the outcome in conventional or JSON form,
exits non-zero when the conversion is refused or fails, and surfaces parse failures the move
machinery encountered along the way.
Execute the refactor-index command, converting a README.md to index.md or an index.md to README.md in place with automatic link updates.
This is the entry point for the CLI command. It reports the outcome in conventional or JSON form, exits non-zero when the conversion is refused or fails, and surfaces parse failures the move machinery encountered along the way.