leetcode-cli icon indicating copy to clipboard operation
leetcode-cli copied to clipboard

how can we get the previous submissions? for every problem

Open lqlee opened this issue 2 years ago • 4 comments

current subcommands: data, edit, exec, list, pick, stat, test, help. no idea, which subcommand is to retrieve the previous submission?

Thanks,

lqlee avatar Jun 08 '22 06:06 lqlee

Oh we currently don't have this feature, mb you want to try leetcode list -qd

clearloop avatar Jun 08 '22 08:06 clearloop

Thanks, that command can show all solved problems. good to know.

after one submission, and success, how can we reset the problem to re-edit and to re-submit ? I know, we can edit it and delete the content in order to re-edit and to re-submit. is there a command to reset/clean it ?

lqlee avatar Jun 08 '22 17:06 lqlee

Listing previous submissions for the problem would be a cool and practical feature, do you think it's possible to add this feature to this cli tool, I love to implement this feature and submit the pr, how do you think about that @clearloop

BilyZ98 avatar Jun 25 '22 06:06 BilyZ98

Listing previous submissions for the problem would be a cool and practical feature, do you think it's possible to add this feature to this cli tool, I love to implement this feature and submit the pr, how do you think about that @clearloop

that would be awesome! we can add a simple cache to record the past submissions

clearloop avatar Jun 26 '22 06:06 clearloop