diff --git a/groupTasks/groups/roese/index.json b/groupTasks/groups/roese/index.json index f088df2..4f87671 100644 --- a/groupTasks/groups/roese/index.json +++ b/groupTasks/groups/roese/index.json @@ -1,13 +1,46 @@ { - "category": "Roese", - "name": "Roese Home", - "tasks": [ - { - "name": "Haha", - "onFinish": "pause", - "undoPossible": false, - "repeatPossible": false, - "scriptPath": "haha.py" - } - ] -} \ No newline at end of file + "category": "Roese", + "name": "Roese Home", + "globalInputs": [ + { + "parameterName": "kundenname", + "type": "text", + "displayName": "Name des Kunden" + }, + { + "parameterName": "kiste", + "type": "number", + "displayName": "Nummer der Kiste" + }, + { + "parameterName": "kiste2", + "type": "textarea", + "displayName": "Nummer der zweiten Kiste yooo" + }, + { + "parameterName": "farbig", + "type": "checkbox", + "displayName": "Farbig", + "options": { + "default": false + } + }, + { + "parameterName": "blackandwhite", + "type": "checkbox", + "displayName": "Black and White", + "options": { + "default": true + } + } + ], + "tasks": [ + { + "name": "Haha", + "onFinish": "pause", + "undoPossible": false, + "repeatPossible": false, + "scriptPath": "haha.py" + } + ] +} diff --git a/main.go b/main.go index 04f74c1..8134a62 100644 --- a/main.go +++ b/main.go @@ -74,7 +74,7 @@ INVEX_API_TOKEN=api_token`) config.LoadConfig() - rslogger.InitLogger(false, config.Cfg.ColorizedOutput, config.Cfg.LogManagerServerUrl) + rslogger.InitLogger(config.Cfg.Debug, config.Cfg.ColorizedOutput, config.Cfg.LogManagerServerUrl) if os.Getenv("DOCKER") != "" { fmt.Println("Waiting for mariadb docker")