code: func PluginMain(cmdAdd, cmdCheck, cmdDel func(_ *CmdArgs) error, versionInfo version.PluginInfo, about string) {
  	if e := PluginMainWithError(cmdAdd, cmdCheck, cmdDel, versionInfo, about); e != nil {
  		if err := e.Print(); err != nil {
  			log.Print("Error writing error JSON to stdout: ", err)
  		}
  		os.Exit(1)
  	}
  }
docs: // PluginMain is the core "main" for a plugin which includes automatic error handling.
  //
  // The caller must also specify what CNI spec versions the plugin supports.
  //
  // The caller can specify an "about" string, which is printed on stderr
  // when no CNI_COMMAND is specified. The recommended output is "CNI plugin <foo> v<version>"
  //
  // When an error occurs in either cmdAdd, cmdCheck, or cmdDel, PluginMain will print the error
  // as JSON to stdout and call os.Exit(1).
  //
  // To have more control over error handling, use PluginMainWithError() instead.