Skip to content

Commit 0ba12b3

Browse files
committed
Change --text from argument to option
This is a breaking change. It puts text on the same level as the other options like image or barcode. It is breaking because it now requires any text to be preceeded by `--text`. Ref: <#12 (comment)> and below.
1 parent 65fcf51 commit 0ba12b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/labelle/cli/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ def default(
130130
] = None,
131131
text: Annotated[
132132
Optional[List[str]],
133-
typer.Argument(
133+
typer.Option(
134134
help="Text, each parameter gives a new line",
135135
rich_help_panel="Elements",
136136
),

0 commit comments

Comments
 (0)