File tree Expand file tree Collapse file tree 7 files changed +13
-5
lines changed Expand file tree Collapse file tree 7 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ const cmd = {
2525 } )
2626 . example ( chalk . yellow ( 'leetcode cache' ) , 'Show all cache' )
2727 . example ( chalk . yellow ( 'leetcode cache 1' ) , 'Show cache of question 1' )
28+ . example ( '' , '' )
2829 . example ( chalk . yellow ( 'leetcode cache -d' ) , 'Delete all cache' )
2930 . example ( chalk . yellow ( 'leetcode cache 1 -d' ) , 'Delete cache of question 1' ) ;
3031 }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ const cmd = {
2828 } )
2929 . positional ( 'key' , {
3030 type : 'string' ,
31- describe : 'Config key' ,
31+ describe : 'Config key, delimited by colon ' ,
3232 default : ''
3333 } )
3434 . positional ( 'value' , {
@@ -38,8 +38,9 @@ const cmd = {
3838 } )
3939 . example ( chalk . yellow ( 'leetcode config' ) , 'Show user configs' )
4040 . example ( chalk . yellow ( 'leetcode config -a' ) , 'Show all configs = user + default' )
41- . example ( chalk . yellow ( 'leetcode config plugins:github:repo "your repo URL"' ) , 'Set config by key' )
4241 . example ( chalk . yellow ( 'leetcode config plugins:github' ) , 'Show config by key' )
42+ . example ( '' , '' )
43+ . example ( chalk . yellow ( 'leetcode config plugins:github:repo "your repo URL"' ) , 'Set config by key' )
4344 . example ( chalk . yellow ( 'leetcode config plugins:github -d' ) , 'Delete config by key' ) ;
4445 }
4546} ;
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ const cmd = {
3535 describe : 'Filter questions by keyword'
3636 } )
3737 . example ( chalk . yellow ( 'leetcode list' ) , 'List all questions' )
38+ . example ( chalk . yellow ( 'leetcode list -x' ) , 'Show extra info of questions, e.g. tags' )
39+ . example ( '' , '' )
3840 . example ( chalk . yellow ( 'leetcode list array' ) , 'List questions that has "array" in name' )
3941 . example ( chalk . yellow ( 'leetcode list -q eD' ) , 'List questions that with easy level and not done' )
4042 . example ( chalk . yellow ( 'leetcode list -t google' ) , 'List questions from Google company (require plugin)' )
Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ const cmd = {
5252 . example ( chalk . yellow ( 'leetcode plugin' ) , 'Show all plugins' )
5353 . example ( chalk . yellow ( 'leetcode plugin company' ) , 'Show company plugin' )
5454 . example ( chalk . yellow ( 'leetcode plugin company -c' ) , 'Show config of company plugin' )
55+ . example ( '' , '' )
5556 . example ( chalk . yellow ( 'leetcode plugin -i company' ) , 'Install company plugin from GtiHub' )
5657 . example ( chalk . yellow ( 'leetcode plugin -d company' ) , 'Disable company plugin' )
5758 . example ( chalk . yellow ( 'leetcode plugin -e company' ) , 'Enable comapny plugin' )
Original file line number Diff line number Diff line change @@ -39,8 +39,9 @@ const cmd = {
3939 . example ( chalk . yellow ( 'leetcode stat -g' ) , 'Show detailed status in graph' )
4040 . example ( chalk . yellow ( 'leetcode stat -c' ) , 'Show accepted status in calendar' )
4141 . example ( '' , '' )
42- . example ( chalk . yellow ( 'leetcode stat --no-lock' ) , 'Show progress status without locked questions' )
43- . example ( chalk . yellow ( 'leetcode stat -t algorithms' ) , 'Show progress status of algorithms questions' ) ;
42+ . example ( chalk . yellow ( 'leetcode stat --no-lock' ) , 'Show status without locked questions' )
43+ . example ( chalk . yellow ( 'leetcode stat -t algorithms' ) , 'Show status of algorithms questions only' )
44+ . example ( chalk . yellow ( 'leetcode stat -q h' ) , 'Show status of hard questions only' ) ;
4445 }
4546} ;
4647
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ const cmd = {
4545 describe : 'Download specific question by id'
4646 } )
4747 . example ( chalk . yellow ( 'leetcode submission -a -o mydir' ) , 'Download all to folder mydir' )
48+ . example ( chalk . yellow ( 'leetcode submission -x -a' ) , 'Add descriptions in the downloaded codes' )
4849 . example ( chalk . yellow ( 'leetcode submission -l cpp 1' ) , 'Download cpp submission of question 1' ) ;
4950 }
5051} ;
Original file line number Diff line number Diff line change @@ -23,8 +23,9 @@ const cmd = {
2323 default : false ,
2424 describe : 'Logout'
2525 } )
26+ . example ( chalk . yellow ( 'leetcode user' ) , 'Show current user' )
2627 . example ( chalk . yellow ( 'leetcode user -l' ) , 'User login' )
27- . example ( chalk . yellow ( 'leetcode user' ) , 'Show current user ' ) ;
28+ . example ( chalk . yellow ( 'leetcode user -L ' ) , 'User logout ' ) ;
2829 }
2930} ;
3031
You can’t perform that action at this time.
0 commit comments