forked from EternalHeartTeam/leetcode-practice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexamples.js
57 lines (52 loc) · 2.33 KB
/
examples.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
export const lcExamples = `
Examples:
# Command with no parameters
$ lc // Get a question for today.
$ lc 1314 // Get a question by its identity.
# Exclusive commands
$ lc -t // Full text command to get a question for today.
$ lc -i 1314 // Full text command to get a question by its identity.
$ lc -r // Get a question randomly.
# Other instructions
$ lc -e // Easy mode to create a question.
$ lc -d src // Use the relative path to the source folder.
$ lc -u // Check the version to determine whether to update to the latest one.
$ lc -l // Get the code language of question.
$ lc -l java // Set the code language of question.
$ lc -a // Fetch all questions from server and store them locally, prepare database for lf command.
$ lc -v // Check the version info and some extra info about leetcode-practice.
$ lc -h // Check the help information.
`;
export const lkExamples = `
Examples:
# Command with no parameters
$ lk // Check today's question.
$ lk 1314 // Check the question by its ID.
# Exclusive commands
$ lk -t // Full text command to check today's question.
$ lk -i 1314 // Full text command to check the question by its ID.
$ lk -r // Check a randomly generated question.
# Other instructions
$ lk -e // Easy mode to check a question.
$ lk -d src // Use the relative path to the source folder.
$ lk -l // Get the code language of question.
$ lk -l java // Set the code language of question.
$ lk -u // Check the version to determine whether to update to the latest one.
$ lk -v // Check the version info and some extra info about leetcode-practice.
$ lk -h // Display the help information.
`;
export const lfExamples = `
Examples:
# Command with no parameters
nothing...
# Exclusive commands
nothing...
# Other instructions
$ lf -e // Easy mode to check a question.
$ lf -d src // Use the relative path to the source folder.
$ lf -l // Get the code language of question.
$ lf -l java // Set the code language of question.
$ lf -u // Check the version to determine whether to update to the latest one.
$ lf -v // Check the version info and some extra info about leetcode-practice.
$ lf -h // Display the help information.
`;