generated from dopt-python/py311
add option to show short state messages with startup script
This commit is contained in:
@@ -1 +1,14 @@
|
||||
param(
|
||||
[switch]$enableOutput
|
||||
)
|
||||
|
||||
.\python\python.exe -m wattanalyse.external_interface
|
||||
|
||||
if ($enableOutput) {
|
||||
if ($LASTEXITCODE -eq 0) {
|
||||
Write-Host "Die Verarbeitungspipeline wurde erfolgreich abgeschlossen."
|
||||
}
|
||||
else {
|
||||
Write-Host "Bei der Verarbeitung ist ein Fehler aufgetreten. Details sind den Logs zu entnehmen."
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user