Skip to content

Commit

Permalink
Check for additional missing arguments (input_redirection, output_red…
Browse files Browse the repository at this point in the history
…irection, command_line_arguments, paramValueSeparator, argumentPrefix)
  • Loading branch information
james-strauss-uwa committed Feb 9, 2022
1 parent 4786d58 commit 2e2df52
Showing 1 changed file with 45 additions and 1 deletion.
46 changes: 45 additions & 1 deletion tools/xml2palette/xml2palette.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,51 @@ def add_required_fields_for_category(text, fields, category):
"input_redirection",
"Input redirection",
"",
"The command line arguments that specifies the input into this application",
"The command line argument that specifies the input into this application",
"readwrite",
"String",
False,
)
add_field_if_missing(
text,
fields,
"output_redirection",
"Output redirection",
"",
"The command line argument that specifies the output from this application",
"readwrite",
"String",
False,
)
add_field_if_missing(
text,
fields,
"command_line_arguments",
"Command line arguments",
"",
"Additional command line arguments to be added to the command line to be executed",
"readwrite",
"String",
False,
)
add_field_if_missing(
text,
fields,
"paramValueSeparator",
"Param Value Separator",
" ",
"Separator between parameters on the command line",
"readwrite",
"String",
False,
)
add_field_if_missing(
text,
fields,
"argumentPrefix",
"Argument prefix",
"--",
"Prefix to each keyed argument on the command line",
"readwrite",
"String",
False,
Expand Down

0 comments on commit 2e2df52

Please sign in to comment.