33* [ help] ( #help )
44* [ list] ( #list )
55* [ show] ( #show )
6+ * [ star] ( #star )
67* [ submission] ( #submission )
78* [ submit] ( #submit )
89* [ test] ( #test )
@@ -51,6 +52,7 @@ Navigate all the problems. The heading `✔` means you have AC-ed the problem, `
5152 * `h` = hard, `H` = e + m.
5253 * `d` = done = AC-ed, `D` = not AC-ed.
5354 * `l` = locked, `L` = not locked.
55+ * `s` = starred, `S` = unstarred.
5456* ` -s ` to show statistic counters.
5557* ` lc list <keyword> ` to search by keyword matching.
5658
@@ -59,20 +61,20 @@ Navigate all the problems. The heading `✔` means you have AC-ed the problem, `
5961Show statistcis:
6062
6163 $ lc list -s
62-
63- [385] Mini Parser Medium (26.5 %)
64- ✘ [384] Shuffle an Array Medium (45.7 %)
65- ✔ [383] Ransom Note Easy (44.5 %)
66- ✔ [382] Linked List Random Node Medium (46.6%)
67- ......
68- ✔ [ 4] Median of Two Sorted Arrays Hard (19.6 %)
69- ✔ [ 3] Longest Substring Without Repeating Characters Medium (22.9 %)
70- ✔ [ 2] Add Two Numbers Medium (24.5 %)
71- ✔ [ 1] Two Sum Easy (25.6%)
72-
73- All: 394 Listed: 394 Lock: 72
74- AC: 196 Not-AC: 15 New: 183
75- Easy: 105 Medium: 202 Hard: 87
64+ [385] Mini Parser Medium (26.5%)
65+ ✘ [384] Shuffle an Array Medium (45.7 %)
66+ ✔ [383] Ransom Note Easy (44.5 %)
67+ ✔ [382] Linked List Random Node Medium (46.6 %)
68+ ......
69+ ✔ [ 4] Median of Two Sorted Arrays Hard (19.6%)
70+ ✔ [ 3] Longest Substring Without Repeating Characters Medium (22.9 %)
71+ ★ ✔ [ 2] Add Two Numbers Medium (25.37 %)
72+ ★ ✔ [ 1] Two Sum Easy (27.61 %)
73+
74+ All: 400 Listed: 400
75+ Locked: 73 Starred: 3
76+ Accept: 196 Not-AC: 15 New: 189
77+ Easy: 106 Medium: 207 Hard: 87
7678
7779Use keyword search and query:
7880
@@ -86,6 +88,7 @@ Use keyword search and query:
8688Display problem details. With ` -g ` +` -l ` , the code template could be auto generated for you.
8789
8890* ` -g ` to generate source file.
91+ * ` -x ` to add problem details in the generated source file.
8992* ` -l ` to choose programming language. (Depends on which langs are provided on leetcode)
9093 * c
9194 * cpp
@@ -127,6 +130,23 @@ Display problem details. With `-g`+`-l`, the code template could be auto generat
127130 UPDATE (2016/2/13):
128131 The return format had been changed to zero-based indices. Please read the above updated description carefully.
129132
133+ ## star
134+
135+ Mark your favorite problems. The starred problem will be shown with a ` ★ ` .
136+
137+ * ` -d ` to unstar.
138+ * Instead of index number, you can use name to star a problem.
139+ * `lc star "Two Sum"`
140+ * `lc star two-sum`
141+
142+ * Example*
143+
144+ $ lc star 1
145+ [1] Two Sum ★
146+
147+ $ lc star 1 -d
148+ [1] Two Sum ☆
149+
130150## submission
131151
132152Retrieve your existing submissions from leetcode.com and save to local files.
@@ -139,6 +159,7 @@ Available options:
139159
140160* ` -o ` to specify the output folder.
141161* ` -a ` to work against all problems.
162+ * ` -x ` to add problem details in the output file.
142163* Or work against specfic problem only.
143164 * `lc submission 1`
144165 * `lc submission two-sum`
@@ -228,7 +249,7 @@ Display version information.
228249Short:
229250
230251 $ lc version
231- 0.5 .0
252+ 0.6 .0
232253
233254Verbose:
234255
@@ -238,7 +259,7 @@ Verbose:
238259 | | ___ ___| |_ ___ ___ __| | ___
239260 | |/ _ \/ _ \ __|/ __|/ _ \ / _` |/ _ \
240261 | | __/ __/ |_ (__| (_) | (_| | __/
241- |_|\___|\___|\__|\___|\___/ \__,_|\___| CLI v0.5 .0
262+ |_|\___|\___|\__|\___|\___/ \__,_|\___| CLI v0.6 .0
242263
243264 [Environment]
244265 Cache: /Users/skygragon/.lc/
0 commit comments