This commit is contained in:
SantaSpeen 2022-03-25 23:25:11 +03:00
parent 5ed649ac5c
commit 4880ce9ea4

View File

@ -4,14 +4,21 @@ Helper tools to move all you repos from GitHub into GitFlic
## Installation ## Installation
```commandline ```shell
pip install -r requirements.txt # Shell
$ pip install -r requirements.txt
``` ```
## Usage ## Usage
```commandline Get GitHub token from: https://github.com/settings/tokens \
Get GitFlic token from: https://gitflic.ru/settings/oauth/token
```shell
# Shell
python main.py \ python main.py \
--token=<your_access_token> \ --token=<your_access_token> \
--dst_folder=<your_folder> \ --dst_folder=<your_folder> \
@ -19,4 +26,4 @@ python main.py \
--is_private=<True/False> --is_private=<True/False>
``` ```
The script if gonna clone all the repos for a given access token under dst_folder/org_name/repo_name The script if going to clone all the repos for a given access token under `dst_folder/org_name/repo_name`.