@night-slayer18/leetcode-cli 1.4.0 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +43 -1
  2. package/dist/index.js +847 -214
  3. package/package.json +2 -1
package/README.md CHANGED
@@ -16,6 +16,8 @@ A modern, feature-rich LeetCode CLI built with TypeScript.
16
16
  - 📤 **Submit solutions** - Submit directly to LeetCode
17
17
  - 📊 **View statistics** - Track your progress
18
18
  - 🎯 **Daily challenge** - Get today's problem
19
+ - ⏱️ **Interview timer** - Timed practice with solve time tracking
20
+ - 👥 **Collaborative coding** - Solve problems with a partner
19
21
  - ⚙️ **Configurable** - Set language, editor, and working directory
20
22
  - 📂 **Smart file discovery** - Use problem ID, filename, or full path
21
23
  - 🔄 **Git Sync** - Auto-sync solutions to GitHub/GitLab
@@ -71,7 +73,8 @@ leetcode submit 1
71
73
  | `submit <id\|file>` | Submit solution to LeetCode |
72
74
  | `submissions <id>` | View past submissions |
73
75
  | `stat [username]` | Show user statistics |
74
- | `stat [username]` | Show user statistics |
76
+ | `timer <id>` | Interview mode with timer |
77
+ | `collab <cmd>` | Collaborative coding with a partner |
75
78
  | `config` | View or set configuration |
76
79
  | `sync` | Sync solutions to Git repository |
77
80
 
@@ -207,6 +210,45 @@ leetcode stat -t
207
210
  # Sync all solutions to your configured git repo
208
211
  leetcode sync
209
212
  ```
213
+
214
+ ### Interview Timer
215
+
216
+ ```bash
217
+ # Start timer for a problem (default: Easy=20m, Medium=40m, Hard=60m)
218
+ leetcode timer 1
219
+
220
+ # Custom time limit
221
+ leetcode timer 1 -m 30
222
+
223
+ # View your solve time stats
224
+ leetcode timer --stats
225
+
226
+ # Stop active timer
227
+ leetcode timer --stop
228
+ ```
229
+
230
+ ### Collaborative Coding
231
+
232
+ ```bash
233
+ # Host a collaboration session
234
+ leetcode collab host 1
235
+
236
+ # Share the room code with your partner
237
+ # Partner joins with:
238
+ leetcode collab join ABC123
239
+
240
+ # Both solve the problem, then sync
241
+ leetcode collab sync
242
+
243
+ # Compare solutions
244
+ leetcode collab compare
245
+
246
+ # Check session status
247
+ leetcode collab status
248
+
249
+ # Leave session
250
+ leetcode collab leave
251
+ ```
210
252
 
211
253
  ### Configuration
212
254