This describes the usage of SortingHat from the command line.
SortingHat has nice, modern web interface and the command line interface is considered legacy funcionality.