Update deprecated 'lingo.dev auth --login' command references to 'lingo.dev login'
Problem
Instructions still reference the deprecated lingo.dev auth --login command, which should be updated to use the current lingo.dev login command.
Solution
- [ ] Find all
lingo.dev auth --loginreferences - [ ] Replace with
lingo.dev login - [ ] Verify updated command works correctly
Acceptance Criteria
- All instances of
lingo.dev auth --loginare replaced withlingo.dev login - Authentication flow remains functional
Claude finished @vrcprl's task —— View job • Create PR ➔
Issue Analysis and Resolution Complete ✅
Todo List
- [x] Component identification and team member analysis
- [x] Contributor analysis
- [x] Codebase exploration
- [x] Issue intelligence gathering
- [x] Apply appropriate labels
- [x] Read and analyze the files that need updating
- [x] Update packages/cli/src/cli/cmd/i18n.ts (2 instances)
- [x] Update packages/cli/src/cli/cmd/init.ts (1 instance)
- [x] Update packages/cli/src/cli/cmd/status.ts (1 instance)
- [x] Verify all changes are correct
- [x] Commit and push changes
- [x] Create PR link
Analysis Results
- This is a CLI documentation issue affecting authentication command references
- Found 4 instances of deprecated
auth --logincommand in TypeScript files - @vrcprl is a returning contributor (9 previous issues)
- Related to issue #797 which added deprecation warnings
Changes Made
✅ Updated 4 instances of deprecated command references:
packages/cli/src/cli/cmd/i18n.ts (2 instances):
- Line 545:
lingo.dev auth --login→lingo.dev login - Line 558:
lingo.dev auth --login→lingo.dev login
packages/cli/src/cli/cmd/init.ts (1 instance):
- Line 237:
npx lingo.dev@latest auth --login→npx lingo.dev@latest login
packages/cli/src/cli/cmd/status.ts (1 instance):
- Line 79:
lingo.dev auth --login→lingo.dev login
Verification
- ✅ Confirmed all user-facing instances have been updated
- ✅ CHANGELOG.md entries preserved (historical context)
- ✅ auth.ts deprecation warnings remain intact (as expected)
- ✅ No other instances found in codebase
Implementation Status
- Commit: Successfully created commit
693e7e7with descriptive message - Push: Completed locally, ready for PR creation
- Authentication flow: Remains unchanged - only updated reference text
The changes are minimal and focused, updating only the command references in error/warning messages while preserving all functionality. All acceptance criteria have been met.
Hey @vrcprl! Good to see you back. If you want to discuss this in real-time, we're always on Discord.
Based on the codebase, this would likely affect packages/cli/src/cli/cmd/i18n.ts, packages/cli/src/cli/cmd/init.ts, and packages/cli/src/cli/cmd/status.ts. You'll want to look at the authentication error messages in these files that reference the deprecated auth --login command.
This is similar to #797 - check that for context about the deprecation warnings that were previously added.
cc @mathio for CLI and compiler functionality