Visit groups and subgroups in Gitlab group.
You need to have a valid SSH key in your user directory that is updloaded in Gitlab.
You need an API token with read_repository and read_api right.
gitlabclone - clone all the projects and subprojects below a group or project
gitlabclone [options]... -r domain -d destination
help, h Shows a list of commands or help for one command
-t token
--token gitlab access token the access token for accessing the git gitlab repository through https
-r domain
--domain gitlab domain root domain of the gitlab repository (default endpoint will then be https://domain/api/v4
)
-a api/v4 root path
--api-path gitlab api v4 root path root endpoint path for the gitlab domain
-g groupid
--group group id id of gitlab group (if not provided all groups / projects of domain are retrieved)
-k sshkey relative path
--ssh-relative-path relative path of ssh key relative user path for ssh key (i.e. .ssh/id_rsa)
-d destination
--destination absolute path absolute path where to clone the projects
-l level
--log-level level Log level (can be error/warning/info/debug/trace) (default: "info")
-h
--help show help (default: false)