Updated Migration from Devine (markdown)

Sp5rky
2025-07-20 10:07:51 -06:00
parent 0fa719ff44
commit 47c2ef8fda

@@ -2,9 +2,23 @@
To migrate from Devine to Unshackle in your service modules, you can use the following one-liner to update all occurrences of "from devine" to "from unshackle" in files inside the services directory:
Unix
```bash
find unshackle/services/ -type f -name "*.py" -exec sed -i 's/from devine/from unshackle/g' {} +
```
Windows
```powershell
Get-ChildItem "unshackle/services" -Recurse -Filter *.py |
ForEach-Object {
(Get-Content -Raw $_) -replace 'from devine', 'from unshackle' |
Set-Content $_
}
```
MacOS
```bash
find unshackle/services -type f -name '*.py' \
-exec sed -i '' 's/from devine/from unshackle/g' {} +
```
This command will recursively search for Python files in services and replace all instances of `from devine` with `from unshackle`.