From 75c2b3ea7a29629804d6f99f497b43b4dc90062f Mon Sep 17 00:00:00 2001 From: Jano Date: Fri, 6 Sep 2024 08:20:11 +0200 Subject: [PATCH] PVQ-3129 Rename Args in Config to uppercase + _ & remove "Configuration" --- config.json | 98 ++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 58 deletions(-) diff --git a/config.json b/config.json index a78ae36..317fc4a 100644 --- a/config.json +++ b/config.json @@ -19,43 +19,43 @@ { "args": [ "--input", - "${Input PDF}", + "${INPUT_PDF}", "--output", - "${Output PDF}", + "${OUTPUT_PDF}", "--openai", - "${OpenAI}" + "${OPEN_AI}", + "--name", + "${LICENSE_NAME}", + "--key", + "${LICENSE_KEY}" ], - "name": "Runs trial", - "desc": "Runs trial" + "name": "Runs with license", + "desc": "Runs with license" }, { "args": [ "--input", - "${Input PDF}", + "${INPUT_PDF}", "--output", - "${Output PDF}", + "${OUTPUT_PDF}", "--openai", - "${OpenAI}", - "--name", - "${License Name}", - "--key", - "${License Key}" + "${OPEN_AI}" ], - "name": "Runs with license", - "desc": "Runs with license" + "name": "Runs trial", + "desc": "Runs trial" }, { "args": [ "--input", - "${Input PDF}", + "${INPUT_PDF}", "--output", - "${Output PDF}", + "${OUTPUT_PDF}", "--openai", - "${OpenAI}", + "${OPEN_AI}", "--name", - "${License Name}", + "${LICENSE_NAME}", "--key", - "${License Key}", + "${LICENSE_KEY}", "--overwrite" ], "name": "Runs with license and overwrite", @@ -65,11 +65,11 @@ "args": [ "--build", "--input", - "${Input PDF}", + "${INPUT_PDF}", "--output", - "${Output PDF}", + "${OUTPUT_PDF}", "--openai", - "${OpenAI}" + "${OPEN_AI}" ], "name": "Runs trial with forced build", "desc": "Runs trial with forced build" @@ -78,15 +78,15 @@ "args": [ "--build", "--input", - "${Input PDF}", + "${INPUT_PDF}", "--output", - "${Output PDF}", + "${OUTPUT_PDF}", "--openai", - "${OpenAI}", + "${OPEN_AI}", "--name", - "${License Name}", + "${LICENSE_NAME}", "--key", - "${License Key}" + "${LICENSE_KEY}" ], "name": "Runs with license and forced build", "desc": "Runs with license and forced build" @@ -95,68 +95,50 @@ "args": [ "--build", "--input", - "${Input PDF}", + "${INPUT_PDF}", "--output", - "${Output PDF}", + "${OUTPUT_PDF}", "--openai", - "${OpenAI}", + "${OPEN_AI}", "--name", - "${License Name}", + "${LICENSE_NAME}", "--key", - "${License Key}", + "${LICENSE_KEY}", "--overwrite" ], "name": "Runs with license,overwrite and forced build", "desc": "Runs with license,overwrite and forced build" } ], - "configuration": { - "args": [ - "--input", - "${Input PDF}", - "--output", - "${Output PDF}", - "--openai", - "${OpenAI}", - "--name", - "${License Name}", - "--key", - "${License Key}" - ], - "name": "Runs with license", - "desc": "Runs with license" - }, "args": [ { - "name": "Input PDF", - "desc": "Input PDF file", + "name": "INPUT_PDF", + "desc": "INPUT_PDF file", "flags": 2, "ext": "pdf", - "type": "file_path", - "value": "user-defined file path" + "value": "" }, { - "name": "Output PDF", + "name": "OUTPUT_PDF", "desc": "Output PDF file.", "flags": 4, "ext": "pdf", - "type": "file_path_save", - "value": "user-defined file path" + "value": "" }, { - "name": "OpenAI", + "name": "OPEN_AI", "desc": "OpenAI API key", "type": "string", "value": "" }, { - "name": "License Name", + "name": "LICENSE_NAME", "desc": "License name.", "type": "string", "value": "" }, { - "name": "License Key", + "name": "LICENSE_KEY", "desc": "License key.", "type": "string", "value": ""