lingo.dev icon indicating copy to clipboard operation
lingo.dev copied to clipboard

Split auth flags into standalone login / logout commands

Open maxprilutskiy opened this issue 1 year ago β€’ 3 comments

πŸ“ 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 login authenticates the user (same logic as auth --login today).
  • [x] lingo logout signs the user out (same logic as auth --logout today).
  • [x] lingo auth now 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.

maxprilutskiy avatar May 21 '25 23:05 maxprilutskiy

I can take up this one

partik03 avatar May 22 '25 05:05 partik03

Great, go for it @partik03 !

vrcprl avatar May 24 '25 01:05 vrcprl

@partik03 great job! πŸ‘

maxprilutskiy avatar Jun 07 '25 04:06 maxprilutskiy