mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-07-17 22:14:25 +02:00
Added refactoring script
This commit is contained in:
parent
78031855b9
commit
4cc4195fab
5
cli/fix/replace_by_get_app_config.sh
Normal file
5
cli/fix/replace_by_get_app_config.sh
Normal 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"
|
Loading…
x
Reference in New Issue
Block a user