User management: adding a list of users

I run a gitlab server for my students. I would like to add each of my students as a user to gitlab. Is there a way to do this from the command line on the server where gitlab is running? Say, by giving a .csv file with names, userids, passwords, etc. and then adding these userids to a gitlab group?