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

Specify Taskvars file #307

Closed
3stadt opened this issue Mar 15, 2020 · 1 comment
Closed

Specify Taskvars file #307

3stadt opened this issue Mar 15, 2020 · 1 comment

Comments

@3stadt
Copy link

3stadt commented Mar 15, 2020

Hi,

I would love to have the opportunity to change the Taskvars.yml file name via CLI.

Example: task foo --taskvarfile=MyOtherTaskVarFile.yml

I'd be happy to provide a PR with this functionality, but I wanted to ask beforehand if this would fit in your roadmap. :)

So, here's my question: Would you accept the functionality mentioned above in your project?
It's sort of mentioned in #195 but I'm not sure if it's the same thing. :)

Kind regards, 3stadt

@andreynering andreynering added type: feature A new feature or functionality. proposal labels Mar 22, 2020
@andreynering
Copy link
Member

andreynering commented Mar 22, 2020

Hi @3stadt, thanks for opening this issue!

Actually, Taskvars is something that will likely be gone on v3.

As an alternative, we are going to support interpolation on includes, so you will be able to do something like this:

version: '2'

includes:
  docs: ./{{.CUSTOM_TASKVARS}}.yml

Unfortunately there's not ETA for that to be implemented or released, though.

@pd93 pd93 removed type: feature A new feature or functionality. type: proposal labels Dec 16, 2024
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

3 participants