The git-codereview tool is a command-line tool for working with Gerrit.