mirror of
https://gitflic.ru/project/dbi471/git-switch.git
synced 2025-07-02 18:25:25 +00:00
Add docs
This commit is contained in:
parent
5ed649ac5c
commit
4880ce9ea4
15
README.md
15
README.md
@ -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`.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user