Yet Anther LeetCode Cli
Api is similar to git
- lee ls lee ls 1
- lee pull lee pull 1
- lee push lee push 1
install
sudo pip install lee==2.3.0
help
usage: main.py [-h] [-p] [-r] [-d] [-j] {ls,pull,push,log} ...
positional arguments:
{ls,pull,push,log}
ls list questions, solution
pull pull question related files to local disk by
push push file to server
log status of server
optional arguments:
-h, --help show this help message and exit
-p, --proxy auto proxy at 127.0.0.1:18888 for debug, and ignore SSL
certificate verification (default: False)
-r, --refresh get request will refresh cache (default: False)
-d, --debug debug mode. debug logger will output (default: False)
-j, --json pure json output (default: False)
development
# tox for distribute
make dev
todo
- work with fzf
- supoort leetcode.com, and it should be easr
- automatically cache your language setting. every time you specify you language with -l, it will change automatically
thx
leetcode-cli. :)
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file lee-2.4.0.macosx-10.7-x86_64.tar.gz.
File metadata
- Download URL: lee-2.4.0.macosx-10.7-x86_64.tar.gz
- Upload date:
- Size: 24.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59713fdc24d8b4c0843015bd0813431571f933b2d25a0185115cb19341adc30c
|
|
| MD5 |
d139ef5d7ce0a352c3d34798f11d4079
|
|
| BLAKE2b-256 |
2efea448fb12683eb2f2392bcc2301c89ed30a48a6a04c5dc1510ff4c6cb0ef1
|