code: func cmdOutput(name string, args ...string) (string, error) {
  	cmd := exec.Command(name, args...)
  	log.Debugf("COMMAND: %v %v", name, strings.Join(args, " "))
  
  	stdout, err := cmd.Output()
  	if err != nil {
  		return "", err
  	}
  
  	log.Debugf("STDOUT:\n{\n%v}", string(stdout))
  
  	return string(stdout), nil
  }
docs: // cmdOutput runs a shell command and returns its output.