code: func findCommand(c *config.TemplateConfig, templates []*config.TemplateConfig) *config.TemplateConfig {
  	needle := config.StringVal(c.Exec.Command)
  	for _, t := range templates {
  		if needle == config.StringVal(t.Exec.Command) {
  			return t
  		}
  	}
  	return nil
  }
docs: // findCommand searches the list of template configs for the given command and
  // returns it if it exists.