chezmoi execute-template '{{ .chezmoi.arch }}'
[386] stdout 386
[amd64] stdout amd64
[arm] stdout arm
[arm64] stdout arm64
[ppc64] stdout ppc64
[ppc64le] stdout ppc64le

chezmoi execute-template '{{ index .chezmoi.args 1 }}'
stdout execute-template

chezmoi execute-template '{{ .chezmoi.executable }}'
stdout [\\/]chezmoi(.exe)?$

chezmoi execute-template '{{ .chezmoi.homeDir }}'
stdout ${HOME@R}

chezmoi execute-template '{{ .chezmoi.os }}'
[darwin] stdout darwin
[freebsd] stdout freebsd
[illumos] stdout illumos
[linux] stdout linux
[openbsd] stdout openbsd
[solaris] stdout solaris
[windows] stdout windows

chezmoi execute-template '{{ .chezmoi.sourceDir }}'
stdout ${CHEZMOISOURCEDIR@R}
