-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(shorebird_cli): expose user #224
Conversation
@@ -75,7 +78,11 @@ class Auth { | |||
|
|||
AccessCredentials? _credentials; | |||
|
|||
AccessCredentials? get credentials => _credentials; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The user
is exposed instead of credentials
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love it
@@ -30,7 +29,7 @@ class LoginCommand extends ShorebirdCommand { | |||
await auth.login(prompt); | |||
logger.info(''' | |||
|
|||
🎉 ${lightGreen.wrap('Welcome to Shorebird! You are now logged in.')} | |||
🎉 ${lightGreen.wrap('Welcome to Shorebird! You are now logged in as <${auth.user!.email}>.')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! Making a TODO to add this to doctor
.
Description
Type of Change