We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 362af16 commit 48fc49aCopy full SHA for 48fc49a
README.md
@@ -30,7 +30,17 @@ Download from [releases](https://github.com/dragfire/leetup/releases). Extract t
30
- You need to login on leetcode.com first.
31
- Copy `csrftoken` and `LEETCODE_SESSION` from cookie storage in the browser.
32
- Pick a problem: `leetup pick -l python 1`
33
-- Test a problem: `leetup test two-sum.py -t "[1,2]\n3"`
+- Test a problem:
34
+ `leetup test two-sum.py -t "[1,2]\n3"`
35
+ or redirect test data using stdin
36
+ ```
37
+ leetup test 3sum.java -t << END
38
+ [1,-1,0]
39
+ [0, 1, 1, 1, 2, -3, -1]
40
+ [1,2,3]
41
+ END
42
43
+
44
- Submit a problem: `leetup submit two-sum.py`
45
- List/Show problems: `leetup list`
46
- Search by keyword: `leetup list <keyword>`
0 commit comments