With the introduction of UX for snap collaboration and transfer it makes sense now to introduce
snapcraft whoami
The output of the command should have the following to the minimum:
- email used to login to the store
- developer id
Optionally:
- permissions of the login (macaroon scopes)
I am not stuck on a specific output format, but replicating that of snap info
seems logical to keep output mechanisms in check for informational queries that are not as complicated as a channel map (as used in e.g.; snapcraft status
).
If following snap info
formatting fully, the output would look like:
$ snapcraft whoami
Email: email@email.com
Developer-id: ID