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.
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
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
dist
folder with the executable file<aside> 🪄 HINT: use as less words as possible. Fewer words = code is magically working.
</aside>
🎉 Bonus
Upload your code a git repository and send it back to the hiring manage 🙂