Commit Graph

25 Commits

Author SHA1 Message Date
Ngô Ngọc Đức Huy 637b0f1d2c
Reformat code 2021-02-05 10:29:26 +07:00
Huy-Ngo 5f9e33f4be Set the default back to all 2021-01-09 16:11:45 +07:00
Huy-Ngo 4a5f3c298d Make flags unnecessary for default language 2021-01-03 11:49:12 +07:00
Huy-Ngo d3b6906fc5 Add colors for highlighting 2021-01-01 19:45:13 +07:00
Huy-Ngo 9d1ef2b462 Correct parsing for usages 2021-01-01 19:18:45 +07:00
Huy-Ngo 0c2bba4be4 Fix language filtering and add flag for word 2021-01-01 17:43:37 +07:00
Ngô Ngọc Đức Huy a082945180
Add flags to limit languages in result (#7)
* Add a flag

* Implement the language limit

* Write more helpful help code
2020-10-30 21:00:30 +07:00
Ngô Ngọc Đức Huy dfed27b3c7
Merge pull request #6 from Huy-Ngo/gh-actions
Create a GitHub action for linting
2020-10-30 17:57:49 +07:00
Huy-Ngo 356c77af7f Fix linting issues 2020-10-30 17:56:42 +07:00
Ngô Ngọc Đức Huy eb17d2b829 Create action for linting 2020-10-30 17:56:11 +07:00
Ngô Ngọc Đức Huy 6f57fecd4d
Merge pull request #4 from Huy-Ngo/not-found
Handle the case word is not found
2020-10-30 10:45:49 +07:00
Huy-Ngo 8718291119 Handle the case word is not found 2020-10-30 10:34:17 +07:00
Huy-Ngo fe10e28740 Add instruction to run 2020-10-29 22:46:16 +07:00
Huy-Ngo 9ea7fc433e Reformat with tabs 2020-10-29 22:45:01 +07:00
Huy-Ngo 4947a522e7 Make it possible to look up words via command line 2020-10-29 22:44:16 +07:00
Ngô Ngọc Đức Huy 0f29dcf8eb
Add MIT License 2020-10-29 20:59:08 +07:00
Huy-Ngo b3ceec87fd Make the result more readable 2020-10-29 20:43:33 +07:00
Huy-Ngo 92d7e6b59c Parse HTML for examples and definitions 2020-10-29 20:38:26 +07:00
Huy-Ngo 785e0f911b Parse examples 2020-10-29 09:56:16 +07:00
Huy-Ngo 5e74e3f08c Add a function to parse definition 2020-10-28 23:46:44 +07:00
Huy-Ngo 068cb86cfb Parse usages 2020-10-28 23:35:53 +07:00
Huy-Ngo 4e5d6c7c76 Add a function to walk the JSON 2020-10-28 23:09:29 +07:00
Huy-Ngo 203f415c31 Define structs 2020-10-28 21:22:03 +07:00
Huy-Ngo c300302227 Parse the entries 2020-10-28 20:51:07 +07:00
Huy-Ngo 1f84b1d5b8 Add README.md 2020-10-28 19:49:22 +07:00