[Feature Request] Mender CLI, using primary ID selected in Mender Settings

Hi all,
we are using a property ID as the leading Identifier for our devices. We have set the UI to use it as the leading identifier which works nicely. For everything but mender-cli because there we can only use the mender generated internal ID which we now have to access through going into the UI and copy it from the url, it’s not shown anywhere else.

Could we have this integrated in the cli as well ? So we can either just access device by the leading id selected in the UI or like mender terminal ID=abc ?

Hi @marvinosswald,

Thanks for reaching out. The good news is, it could definitely be integrated. Basically you’d need to automatically get the internal ID by API first (Mender API docs), and then use that. The bad news is, its not exactly a priority for the dev team… PRs welcome :smiley:

Greetz,
Josef