gilcot@localhost $ pip install gitlab-clone
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Defaulting to user installation because normal site-packages is not writeable
Collecting gitlab-clone
Using cached gitlab_clone-0.1.3-py2.py3-none-any.whl (4.3 kB)
Requirement already satisfied: requests in /Users/gilcot/Library/Python/2.7/lib/python/site-packages (from gitlab-clone) (2.23.0)
Requirement already satisfied: idna<3,>=2.5 in /Users/gilcot/Library/Python/2.7/lib/python/site-packages (from requests->gitlab-clone) (2.9)
Requirement already satisfied: chardet<4,>=3.0.2 in /Users/gilcot/Library/Python/2.7/lib/python/site-packages (from requests->gitlab-clone) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /Users/gildascotomale/Library/Python/2.7/lib/python/site-packages (from requests->gitlab-clone) (1.25.9)
Requirement already satisfied: certifi>=2017.4.17 in /Users/gildcot/Library/Python/2.7/lib/python/site-packages (from requests->gitlab-clone) (2020.4.5.1)
Installing collected packages: gitlab-clone
Successfully installed gitlab-clone-0.1.3
gilcot@localhost $ gitlab-clone -h
Traceback (most recent call last):
File "/Users/gilcot/Library/Python/2.7/bin/gitlab-clone", line 5, in <module>
from gitlab_clone.clonner import main
File "/Users/gilcot/Library/Python/2.7/lib/python/site-packages/gitlab_clone/clonner.py", line 30
f"https://{gitlab_url}/api/v4/groups/{group_id}/projects?private_token={token}&include_subgroups=True&per_page=100&page={page}&with_shared=False")
^
SyntaxError: invalid syntax
It seems to be related to argument parsing, but I may be wrong.