leetcode-cli
leetcode-cli copied to clipboard
leetcode edit doesn't do anything
Hi, I just installed leetcode-cli
the command leetcode pick 1128 works well, however the command leetcode edit doesn't seem to work
~ > leetcode edit 1128 error: No such file or directory (os error 2), please try again
however the command seems to create files into my ~/.leetcode/code/ directory
~/.leetcode/code > ls Permissions Size User Date Modified Name .rw-rw-r-- 98 ori 11 Apr 19:26 1.two-sum.cpp .rw-rw-r-- 94 ori 11 Apr 19:24 1.two-sum.rs .rw-rw-r-- 31 ori 11 Apr 19:26 1.two-sum.tests.dat .rw-rw-r-- 370 ori 11 Apr 19:39 2.add-two-numbers.cpp .rw-rw-r-- 49 ori 11 Apr 19:39 2.add-two-numbers.tests.dat .rw-rw-r-- 103 ori 11 Apr 19:29 1128.number-of-equivalent-domino-pairs.cpp .rw-rw-r-- 57 ori 11 Apr 19:29 1128.number-of-equivalent-domino-pairs.tests.dat
I am using zsh and ubuntu 20.04 if this can help
@darzok0914 this issue would be much clearer if you stated whether the edit
command fails for all problems, or fails only on 1128.
can you paste your leetcode.toml
here? @darzok0914 looks like this is related to the default language you set in the config file
Too long no update, close.