Open imrehg opened 7 years ago
Looks like this is a nice to have, based on the linked thread, but not super important. Is that right? If so, I'm going to pull it into the redesign pile - I'd like to think about it there and come up with a consistent way of doing a 'quiet mode' in general, and think about where else it might be useful, rather than just adhoc adding it straight away. Is that ok?
Related to #1089. If the CLI commands in general had a "scriptable" mode that produced machine-readable output like JSON, a username could be filtered with something like:
balena whoami -S | jq .username
Currently the
resin whoami
command gives plenty to of infoIt would be great to have a "quiet" mode, that would just output the username:
(I'm guessing
-q, --quiet
option, just like many of the docker commands are)