Overview

Go engineers take an aesthetic approach to coding. For this home assignment, we are looking to measure your designing skills, both visible and invisible.

Please review the task below and reply with your completed work as a git repository that requires the least friction to go up and running.

CLI Authentication

Before doing anything with Bluebricks CLI, we have to ensure the users are logged in. In this task, you're required to perform a simple authentication with a browser into the CLI application

What’s need to be done?

Create a Cobra-based CLI application with the command "login," which triggers a browser for performing any authentication (whether it's social or email logging, it doesn't matter).

Additionally, add a command that prints if the CLI is logged in or not.

👉 Additional Requirements

<aside> 🪄 HINT: use as less words as possible. Fewer words = code is magically working.

</aside>

🎉 Bonus

Definition of Done

Upload your code a git repository and send it back to the hiring manage 🙂