Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A new unified CLI named
brother_ql
just like the package itself was added in those commits.This will slowly deprecate the other CLIs such as
The new CLI is based on click giving it a lot of features out of the box such as setting parameters via environment variables, very flexible command handling, ...
To implement the new CLI with as little overhead as possible, a lot of the code previously found in the source files of the old CLI tools was moved into generic modules. For example, the code to create a label is now found in the function
convert()
inbrother_ql.conversion
instead of its previous place in the functioncreate_label()
inbrother_ql.brother_ql_create
.In addition, a small error was fixed in the BrotherQLReader class resulting in a TypeError raised. It's output image file names are now configurable.
API changes: The dictionary data structure returned by list_available_devices() has now a renamed key: What was
string_descr
before is now calledidentifier
.