cookieauth uses a “Netscape cookie file” to implement the GOAUTH protocol described in https://golang.org/issue/26232. It expects the location of the file as the first command-line argument.
Example GOAUTH usage:
export GOAUTH="cookieauth $(git config --get http.cookieFile)"
See http://www.cookiecentral.com/faq/#3.5 for a description of the Netscape cookie file format.