Convert checkout command to new structure.