Skip to content

Allow enabling of monitor during upload of a new firmware in the cli #74

Closed

Description

@CMon

Allow enabling of monitor during the upload of a new firmware, similar to the UI version of firmware uploads

Activity

  1. martonilles commented on Jul 17, 2026

    @martonilles
    Contributor

    This is already possible, but setting the enable_monitoring flag to True:

        def upload_firmware(
            self,
            metadata: m.FirmwareMetadata,
            path: Path | None,
            *,
            sbom_path: Path | None = None,
            enable_monitoring: bool,
            timeout=60,
        ):
    
  2. CMon commented on Aug 12, 2026

    @CMon
    Author

    Yes I found it inside your class but not exposed to the cli itself, since I use your pip package in my CI's there the def upload_firmware from : onekey_client/cli/firmware_upload.py#L42 will be used, which does not allow setting enable_monitoring

  3. martonilles commented on Aug 14, 2026

    @martonilles
    Contributor

    Sorry, it was not clear you were referring to the cli

  4. changed the title [-]Allow enabling of monitor during upload of a new firmware[/-] [+]Allow enabling of monitor during upload of a new firmware in the cli[/+] on Aug 14, 2026
  5. martonilles commented on Aug 26, 2026

    @martonilles
    Contributor

    Done in #79

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions