Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Array options arguments support #9

Open
aomathwift opened this issue Jun 20, 2020 · 1 comment
Open

Array options arguments support #9

aomathwift opened this issue Jun 20, 2020 · 1 comment

Comments

@aomathwift
Copy link
Contributor

aomathwift commented Jun 20, 2020

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]"
@yonaskolb
Copy link
Owner

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants