Skip to content

Commit cba4af3

Browse files
committed
Make max transfers a positional argument
1 parent 18b288a commit cba4af3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lazyfpl/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ def show(
7373

7474
@app.command()
7575
def transfer(
76+
max_transfers: int = typer.Argument(
77+
...,
78+
help="Maximum number of transfers allowed.",
79+
),
7680
add: list[str] = typer.Option(
7781
[],
7882
help="Players to add.",
@@ -81,10 +85,6 @@ def transfer(
8185
[],
8286
help="Players to exclude.",
8387
),
84-
max_transfers: int = typer.Option(
85-
...,
86-
help="Maximum number of transfers allowed.",
87-
),
8888
min_mtm: float = typer.Option(
8989
0.0,
9090
help="Minimum mean time metric.",

0 commit comments

Comments
 (0)