🦊 Create GitLab Projects for Directory List via API#

BASH, CURL and gitlab.com/api/v4 [1]#

 1GITLAB_TOKEN="";\
 2for x in `ls | tr -d ' '`\
 3;do\
 4echo ">>>> creating repository for $x ... ";\
 5curl\
 6-X POST\
 7-H "Content-Type:application/json"\
 8https://gitlab.com/api/v4/projects?private_token=$GITLAB_TOKEN\
 9-d '{ "name": "$x" }'\
10;done