Skip to content

Commit 9aa9913

Browse files
UPDATE Readme.md
1 parent 50151f2 commit 9aa9913

File tree

1 file changed

+20
-13
lines changed

1 file changed

+20
-13
lines changed

README.md

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ A sleek command-line tool for LeetCode - solve, test, and submit problems direct
99
### 🚀 Quick Start
1010

1111
#### 1. Using pip
12+
1213
```bash
1314
pip install leetcode-cli
1415
```
1516

1617
#### 2. clone the repository
18+
1719
```bash
1820
git clone https://github.com/yuvrajsinh5252/leetcode-cli
1921
```
@@ -28,30 +30,35 @@ pip install -e .
2830

2931
### Available Commands
3032

31-
| Command | Description | Options |
32-
|---------|-------------|----------|
33-
| `lc login` | Login to LeetCode account | - |
34-
| `lc logout` | Logout from LeetCode | - |
35-
| `lc profile` | Display LeetCode profile | - |
36-
| `lc daily` | Show today's challenge | `{lang}` - Language (optional)<br>`-e EDITOR` - Preferred editor |
37-
| `lc list` | List all problems | `-d` - Difficulty<br>`-s` - Status<br>`-t` - Tag<br>`-c` - Category |
38-
| `lc show` | Display problem details | `{Problem Name/Number}` |
39-
| `lc test` | Test your solution | `{Problem Name/Number} {FILE}` |
40-
| `lc submit` | Submit your solution | `{Problem Name/Number} {FILE}` |
41-
| `lc edit` | Edit solution in editor | `{Problem Name/Number} {lang} [-e EDITOR]` |
33+
| Command | Description | Options |
34+
| -------------- | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
35+
| `lc login` | Login to LeetCode account | - |
36+
| `lc logout` | Logout from LeetCode | - |
37+
| `lc profile` | Display LeetCode profile | - |
38+
| `lc daily` | Show today's challenge | `{lang}` - Language (optional)<br>`-e/--editor` - Preferred editor<br>`-f/--full` - Show full description<br>`-s/--save` - Save to file<br>`--no-editor` - Skip editor |
39+
| `lc list` | List available problems | `-d/--difficulty` - Difficulty<br>`-s/--status` - Status<br>`-t/--tag` - Tag<br>`-c/--category-slug` - Category |
40+
| `lc show` | Display problem details | `{Problem Name/Number}`<br>`-s/--save` - Save to file<br>`-c/--compact` - Compact layout |
41+
| `lc test` | Test your solution | `{Problem Name/Number} {FILE}` |
42+
| `lc submit` | Submit your solution | `{Problem Name/Number} {FILE}`<br>`--lang` - Language<br>`-f/--force` - Skip confirmation |
43+
| `lc edit` | Edit solution in editor | `{Problem Name/Number} {lang}`<br>`-e/--editor` - Preferred editor |
44+
| `lc solutions` | View problem solutions | `{Problem Name/Number}`<br>`-b/--best` - Show best solutions |
4245

4346
### Usage Examples
4447

4548
```bash
4649
lc list -d easy -s attempted -t array
47-
lc edit 1 py # edit problem 1 in python
50+
lc edit 1 py
4851
lc test 1 two-sum.py
4952
lc submit 1 two-sum.py
53+
lc solutions two-sum --best
54+
lc daily py -e vim
5055
```
56+
5157
### 🚧 Work in Progress
5258

5359
#### Todo
60+
5461
- [ ] Implement test case management
5562
- [ ] Add support for custom test cases
5663
- [ ] Improve error handling
57-
- [ ] Add solution templates
64+
- [ ] Add solution templates

0 commit comments

Comments
 (0)