-
I'm doing this:
But it fails like: ❯ chezmoi init --data=false
What is your full name?
❌ Invalid name, please start over.
chezmoi: template: chezmoi.yaml:18:8: executing "chezmoi.yaml" at <fail "">: error calling fail: It would be cool if I could simply fail with a stdout message, rather than a "debug" mesage. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
I don't think this is possible. As mentioned in other discussions and issues, |
Beta Was this translation helpful? Give feedback.
-
With #1674, chezmoi now has an |
Beta Was this translation helpful? Give feedback.
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).