Fix race condition in cli_test by using io.Pipe instead of a byte buffer
Fix race condition in cli_test by using io.Pipe instead of a byte buffer

mssola/consul-template,ewah/consul-template,wwalker/consul-template,martinssipenko/consul-template,jeffmccune/consul-template,stefreak/consul-template,indeedeng/consul-template,ewah/consul-template,tzz/consul-template,dylanmei/consul-template,jkordish/consul-template,jeffmccune/consul-template,tzz/consul-template,wwalker/consul-template,indeedeng/consul-template,mssola/consul-template,jkordish/consul-template,dylanmei/consul-template,hashicorp/consul-template,stefreak/consul-template,hashicorp/consul-template,martinssipenko/consul-template