Skip to content

Commit

Permalink
PVQ-3129 Rename Args in Config to uppercase + _ & remove "Configuration"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jano committed Sep 6, 2024
1 parent 510ad81 commit 75c2b3e
Showing 1 changed file with 40 additions and 58 deletions.
98 changes: 40 additions & 58 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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": ""
Expand Down

0 comments on commit 75c2b3e

Please sign in to comment.