Skip to content

Commit

Permalink
Change --text from argument to option
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
maresb committed Apr 28, 2024
1 parent 65fcf51 commit 0ba12b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/labelle/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def default(
] = None,
text: Annotated[
Optional[List[str]],
typer.Argument(
typer.Option(
help="Text, each parameter gives a new line",
rich_help_panel="Elements",
),
Expand Down

0 comments on commit 0ba12b3

Please sign in to comment.