solvebio/cli/auth.py
def print_user(user):
    """
    Prints information about the current user.
    """
    email = user['email']
    domain = user['account']['domain']
    role = user['role']
    print('You are logged-in to the "{0}" domain '
          'as {1} with role {2}.'
          .format(domain, email, role))
def print_user(user):
    """
    Prints information about the current user.
    """
    email = user['email']
    domain = user['account']['domain']
    role = user['role']
    print('You are logged-in to the "{0}" domain '
          'as {1} with role {2}.'
          .format(domain, email, role))
Prints information about the current user.