Skip to content

Is there a way to fail a template silently? #1670

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

You must be logged in to vote

With #1674, chezmoi now has an exit template function which allows you to fail templates silently with {{ exit 0 }}. This function is only available when generating the initial config file (#1771).

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@felipecrs
Comment options

@twpayne
Comment options

@felipecrs
Comment options

@twpayne
Comment options

@twpayne
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by twpayne
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants