install required dependencies from requirements.txt file
pip install -r requirements.txt
Example of using this script
- Generate API Token with account that has Admin permission
- Runing script with python following this example code (don't forget to change domain address that you will use befor run the script)
python gitlab_addusers.py --token='GITLAB_API_TOKEN' --url='https://YOUR_GITLAB.COM'
- Verify Results