blob: 7113301f925a80791ed12e3ea4474df0fb770c7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# teamy-quick-lineup
Command-line interface for line-up management in JFR Teamy.
# Installation
Prerequisites:
* Python 3
* pip
* the prerequisites of mysqlclient-python - https://github.com/PyMySQL/mysqlclient-python
```
pip install -r requirements.txt
```
# Configuration
Set MySQL settings in ql/settings.py.
# Usage
```
python -m ql <round> <segment> [<start from table>]
```
For instance, to process round 3, segment 2, starting from table 1 run:
```
python -m ql 3 2 1
```
The script will iterate pair by pair in each match. It presents the currently assigned players and let you confirm them - pressing ENTER without any input - or change - providing player names (press TAB to autocomplete).
|