Added refactoring script

This commit is contained in:
Kevin Veen-Birkenbach 2025-07-13 14:34:56 +02:00
parent 78031855b9
commit 4cc4195fab
No known key found for this signature in database
GPG Key ID: 44D8F11FD62F878E

View File

@ -0,0 +1,5 @@
# Just a little refactoring script, you can delete it later
ATTR="$1"
OLD="applications[application_id].$ATTR"
NEW="applications | get_app_conf(application_id, '$ATTR', True)"
bsr ./ "$OLD" -rFfc -n "$NEW"