jscutlery/semver

How to pass postTargets as cli args ?

bencat-sixense opened this issue · 1 comments

I try to pass the --postTargets from the cli- instead of project.json.

No matter the format, I always get this error:

Error: Invalid Target String: [myTarget]

I've tried:
--postTargets=["target1","target2"]
--postTargets="target1,target2"
--postTargets=target1

And many more...

Is it just possible to do that ?

Thanks for your help !

I found the problem:

I had to revert from

--postTargets=["target1","target2"]

to

--postTargets=["my-project-name:target1","my-project-name:target2"]

I close this issue :)