l***e 发帖数: 480 | 1 从github上clone的clearloop/leetcode-cli
中间看了一篇网文: How to Code on LeetCode from the Terminal
做下来,出错:
~ > leetcode list
error: missing field `sys` at line 2 column 1, Parse config file failed,
leetcode-cli has just generated a new leetcode.toml at ~/.leetcode/leetcode_
tmp.toml, the current one at ~/.leetcode/leetcode.tomlseems missing some
keys, please compare to the tmp one and add them up : )
~ > ls .leetcode
leetcode.toml
~ > cat .leetcode/leetcode.toml
[code]
editor = "vim"
lang = "java"
[cookies]
csrf = "........"
session = "........"
~ > cargo -V
cargo 1.61.0 (a028ae42f 2022-04-29)
~ > rustc -V
rustc 1.61.0 (fe5b13d68 2022-05-18)
~ > brew list
[email protected] dbus [email protected] sqlite
~ > gcc -v
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx
-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/
include/c++/4.2.1
Apple clang version 12.0.0 (clang-1200.0.32.29)
Target: x86_64-apple-darwin19.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
还缺啥?
多谢! | g****y 发帖数: 2810 | 2 你为什么不问这个repo的onwer呢?
leetcode_
牋
牋
gxx
【在 l***e 的大作中提到】 : 从github上clone的clearloop/leetcode-cli : 中间看了一篇网文: How to Code on LeetCode from the Terminal : 做下来,出错: : ~ > leetcode list : error: missing field `sys` at line 2 column 1, Parse config file failed, : leetcode-cli has just generated a new leetcode.toml at ~/.leetcode/leetcode_ : tmp.toml, the current one at ~/.leetcode/leetcode.tomlseems missing some : keys, please compare to the tmp one and add them up : ) : ~ > ls .leetcode :
| l***e 发帖数: 480 | |
|