Skip to content

How to write data variables to a file #3929

Answered by twpayne
halloleo asked this question in Q&A
Discussion options

You must be logged in to vote

How can I write to a file in the .chezmoi.toml.tmpl template?

You can't, but you can make .machine a template.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@halloleo
Comment options

@bradenhilton
Comment options

Answer selected by halloleo
Comment options

You must be logged in to vote
2 replies
@Lockszmith-GH
Comment options

@halloleo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants