- Set up API token in GitLab
- The following Python modules are required:
- json
- python-gitlab
- yaml
python gitlab-management.py get_all_groups --token mysupersecrettoken -o {json,yaml}
python gitlab-management.py get_all_groups --token mysupersecrettoken -o {json,yaml} -f namesonly
python gitlab-management.py get_group_details --token mysupersecrettoken -o {json,yaml}
python gitlab-management.py get_group_projects --token mysupersecrettoken -o {json,yaml}
python gitlab-management.py get_issues --token mysupersecrettoken -o {json,yaml}
python gitlab-management.py get_issues --token mysupersecrettoken -o {json,yaml} -f {opened,closed}
python gitlab-management.py get_user_projects --token mysupersecrettoken -o {json,yaml}
python gitlab-management.py get_user_projects --token mysupersecrettoken -o {json,yaml} -f namesonly
python gitlab-management.py manage_runners --token mysupersecrettoken
python gitlab-management.py manage_ssh_keys --token mysupersecrettoken
MIT
Larry Smith Jr.