Hi Amatei,
I'd suggest opening a Support case, with the Integrity team, to double-check. It sounds like the --addAttachment example you showed, is not even relevant to your usage or question now then?
Here's the help section, for the --selectionFile option:
http://support.ptc.com/cs/help/integrity_hc/integrity122_hc/en/#page/IntegrityHelp%2Foptions.html
It's just a general option to be used with certain CLI commands, so it's documented on its own.
I don't think you'll be able to use it, in the manner you wish. It's just for selections that the CLI command should run against (ex. Item IDs,
--selectionFile=file
provides an alternative way to specify the selection. The specified file is a text file containing a list of file names, members, projects, or sandboxes, one per line. The command operates on all the listed files.
|
|
The --selectionFile option is only relevant for commands that have selections and can only be used to specify the command selection (not command options). Be careful to avoid duplications. In some cases if a file, member, project or Sandbox is listed twice in the file, the command may report an error.
|