lingo.dev
lingo.dev copied to clipboard
Split auth flags into standalone login / logout commands
π Summary
Create dedicated login and logout CLI commands, leaving auth to display the current authenticated user only.
π Context
lingo auth --login / --logout are wordy and hide intent. Cleaner top-level commands improve usability.
π Tasks / Acceptance Criteria
- [x]
lingo loginauthenticates the user (same logic asauth --logintoday). - [x]
lingo logoutsigns the user out (same logic asauth --logouttoday). - [x]
lingo authnow only prints the currently logged-in account. - [x] Code is organised into separate command modules and wired into the CLI entrypoint.
- [x] No UX polish yet βhandled in the next issue.
I can take up this one
Great, go for it @partik03 !
@partik03 great job! π