Add default value for the output_file argument

This commit is contained in:
Florian Meinicke 2024-01-15 16:23:23 +01:00
parent cca1634d47
commit e9bf83fb62
No known key found for this signature in database
GPG key ID: D9DBB1B86B9EE0CC

View file

@ -23,7 +23,7 @@ def main():
description="CLI Tool for generating paperless ASN labels with QR codes",
)
parser.add_argument("start_asn", type=int, help="The value of the first ASN")
parser.add_argument("output_file", type=str, help="The output file to write to")
parser.add_argument("output_file", type=str, default="labels.pdf", help="The output file to write to (default: labels.pdf)")
parser.add_argument(
"--format", choices=avery_labels.labelInfo.keys(), default="averyL4731"
)