Skip to content

Can --device accept the phone name instead of the full device ID? #54

Description

@PiKaZhung

devices already shows a readable phone name, but running a task still means copying the full ID:

pnpm opengui -- do "check the current screen" --device <deviceId> --json

Could --device also accept a unique device name? If two phones have the same name, it can return an error and ask for the ID.

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