Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions onekey_client/cli/firmware_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
)
@click.option("--monitoring", is_flag=True, default=False, help="Enable monitoring")
@click.option("--label", multiple=True, help="Add a label (repeatable)")
@click.option("--notes", help="Free-text notes for the firmware")
@click.argument(
"filename", type=click.Path(exists=True, path_type=Path), required=False
)
Expand All @@ -58,6 +59,7 @@ def upload_firmware(
version: str | None,
name: str | None,
label: tuple[str],
notes: str | None,
sbom: Path | None,
filename: Path | None,
):
Expand Down Expand Up @@ -87,6 +89,7 @@ def upload_firmware(
version=version,
analysis_configuration_id=analysis_configuration_id,
labels=list(label),
notes=notes,
)

try:
Expand Down
Loading