Allow the run key to accept an array of entries
Both the scan key and the proposed clean key accept an array of entries. However, the run key only accepts the contents of a single entry (a map). The run key should also accept an array of entries for consistency.
By making this change, the configuration can be consolidated when multiple commands are needed. For example, this configuration:
ext:
collector:
- run:
command: first-command
- run:
command: second-command
scan:
dir: build/generated
can be reduced to:
ext:
collector:
- run:
- command: first-command
- command: second-command
scan:
dir: build/generated