Skip to content

CommandLineInstruction: extra XML elements for each argument #5

@BrightLight

Description

@BrightLight

When using the CommandLineInstruction right now, the complete command line including all arguments is put into one single attribute.
It would be better to have one XML element for each argument because not every argument is needed every time and this way we could add conditions for each individual argument.

E.g.

<CommandLineInstruction ...>
  <Arguments>
    <Argument value="-m &quot;info&quot;" />
    <Argument value="-author=%author% condition=\"NotEmpty\"" />
  </Arguments>
</CommandLineInstruction>

Maybe even use <Condition> elements as the condition?
Of course, the possible conditions can get pretty complex so we should keep it simple at first.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions