mirror of
https://gitflic.ru/project/dbi471/git-switch.git
synced 2025-07-01 17:55: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
|
||||
|
||||
```commandline
|
||||
pip install -r requirements.txt
|
||||
```shell
|
||||
# Shell
|
||||
|
||||
$ pip install -r requirements.txt
|
||||
```
|
||||
|
||||
|
||||
## 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 \
|
||||
--token=<your_access_token> \
|
||||
--dst_folder=<your_folder> \
|
||||
@ -19,4 +26,4 @@ python main.py \
|
||||
--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