How To - Convert an Entire Project¶
Use this guide when you want to migrate a full FastAPI codebase to Lilya.
Recommended command sequence¶
1. Analyze¶
2. Dry-run with diff¶
lilya-converter convert ./fastapi_project ./lilya_project --dry-run --diff --report ./reports/convert.json
3. Convert for real¶
4. Verify¶
Useful variants¶
Convert without copying non-Python files:
Generate JSON scan output directly to stdout:
Troubleshooting checklist¶
- Run
verifyafter every real conversion run. - Treat diagnostics as actionable migration tasks.
- Re-run
convert --dry-run --diffafter manual edits to validate deltas.