Skip to content

Giving chezmoi apply additional user defined variables #4634

@StamesJames

Description

@StamesJames

Is your feature request related to a problem? Please describe.

You are not able to have additional variables per chezmoi apply run. For example, if you have two different configs you want to switch between (for example for different themes) you would have to somehow change variables in the chezmoi config file for example

Describe the solution you'd like

Giving chezmoi apply the ability to read additional variables per run.
For example, chezmoi apply --vars some-vars-file.toml could read, in addition to all the other variables, the variables from some-vars-file.toml.

Describe alternatives you've considered


Additional context


Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions