Is your feature request related to a problem? Please describe.
It would be useful to clearly indicate the user currently logged in as with lmctl. It would also be useful to have a command to print the user's current token for use with other clients (e.g. curl).
Describe the solution you'd like
An lmctl whoami command which can:
describe the user and environment currently active
option to print only the username
option to print the current access token
Describe alternatives you've consideredlmctl get env --active shows the active environment but you can only see the user credentials with -o yaml or -o json, which also prints out the other parameters of that environment (this could be enhanced as well)
Is your feature request related to a problem? Please describe. It would be useful to clearly indicate the user currently logged in as with lmctl. It would also be useful to have a command to print the user's current token for use with other clients (e.g. curl).
Describe the solution you'd like An
lmctl whoami
command which can:Describe alternatives you've considered
lmctl get env --active
shows the active environment but you can only see the user credentials with-o yaml
or-o json
, which also prints out the other parameters of that environment (this could be enhanced as well)