UNPKG

leetcode-fetcher-cli

Version:

A CLi Application for local fetching of leetcode problems

77 lines (52 loc) 2.48 kB
# TODO **LEGEND**: - [x] Completed ✅ - [ ] Not Started Yet ❌ - [?] Work in Progress 👷 ### Release - v0.1.0 --- - [x] Implements the `submit` command - [x] Move the tests to another file in the instance folder - [x] `submit` command also updates the user details - [x] Update the README file and all the releases - [x] `inspect` command should always fetch user stats remotely #### Additional - [x] Create GitHub Pages for documenting the project ### Release - v0.2.0 --- #### Bug Fix - [x] Remove, or find a way, to login within Docker (browser mode not possible) - [x] Fixed a the `list` command bug when setting DIFFICULTY != from ALL - [x] Check that when showin' the problems, it actually labels downloaded ones - [x] Check that `fetch` command does not append already fetched problems - [x] `list` or `fetch` command does not add the link field to the final struct - [ ] When loading a state, the loaded problems are appended to the existing ones - [ ] The daily question does not show up when looking at the state - [x] `inspect` command output has problems with submissions timestamps - [ ] Sometimes, when creating an instance, an error occurs releated to the README file - [?] When the response is taking too long to arrive, it then elapses and returns an error - It is quite strange, since in the code all possible null returns are correctly handled - [x] Now, even if logged in it seems that it does not check solved problems - [x] When listing problems it says that the solution is available, but it is not #### Refactoring - [x] Refactors the entire application state - [x] Refactors some GraphQL query (to make them smaller than now) - [ ] Refactors the `detail` output #### New Features - [ ] Implement `show` subcommands + With no parameter shows the state and variables (no problems) + `problems`: shows all the problems + `downloaded`: shows only downloaded problems - [ ] Add two `daily` options: `month` and `year` to specify which dailies to fetch - [x] Add the `force` subcommand to `login`, to the force the login - [x] Handle Third-Party Login, e.g., Github etc ... #### Updates - [ ] Updates the Github pages documentation ### Release - v0.3.0 --- #### Bug Fix #### Refactoring - [ ] Refactors commands syntax to `<group> <command> <...args>` #### New Features - [ ] Better printing for commands - [ ] Supports for other programming languages