skygragon / leetcode-cli

A cli tool to enjoy leetcode!
MIT License
3.65k stars 458 forks source link

how can I cache all the problem list #115

Closed sunznx closed 6 years ago

sunznx commented 6 years ago

how can I cache the result of leetcode list

now I use this, but will quit on a few minutes because of the network reason leetcode list | egrep -o '\[\S+\d+\]' | egrep -o '\d+' | xargs -n 1 leetcode show

sunznx commented 6 years ago

在网络好的时候 leetcode list | egrep -o '\[\S+\d+\]' | egrep -o '\d+' | xargs -n 1 leetcode show 之后就可以用 leetcode cache 看到缓存列表