test yaML

This commit is contained in:
MLH
2024-12-09 11:12:22 +01:00
parent 86c99eca4a
commit e5e44bc681

30
test.yaml Normal file
View File

@ -0,0 +1,30 @@
# Zielverzeichnis für Operationen
destination_directory: './'
# Kopierregeln
copy_rules:
- sources:
- source: './img/icon-transparent.png'
target: './assets/img/icon-transparent.png'
mode: 'replace' # Überschreibt vorhandene Dateien/Ordner
- sources:
- './ui'
- source: './img/background.png'
target: './assets/img/background.png'
mode: 'copy' # Kopiert Dateien/Ordner
# Modifikationsregeln
modification_rules:
- file_pattern: 'test..*.txt'
insert_rules:
- after_text: 'This is an after text'
insert_text: ' added after text '
- before_text: 'This is a before text'
insert_text: ' added before text '
- old_text: 'Replace this text'
new_text: 'Replaced text'