Genesis icon indicating copy to clipboard operation
Genesis copied to clipboard

Array options arguments support

Open aomathwift opened this issue 5 years ago • 1 comments

It would be great to be able to pass specific options array like this. I am currently trying this implementation. If it goes well I will submit a PR.

If anyone has any other ideas on how to pass options, please let me know here.

-- options name: MyProject, targets.name: MyTarget, targets.type: application

or

-- options "name: MyProject, targets: [name: MyTarget, type: application]"

aomathwift avatar Jun 20 '20 17:06 aomathwift

For this I recommend either using the --option-path argument to load the options from an external file, or defining the options in the template. Would that solve your use case, or do the options need to be completely dynamic at the call site?

yonaskolb avatar Sep 15 '21 05:09 yonaskolb