akabiru / hscode

📘🖥 A command line reference tool for http status codes.
https://akabiru.github.io/hscode/
MIT License
31 stars 3 forks source link

List Status code by type #16

Closed akabiru closed 7 years ago

akabiru commented 7 years ago

Add functionality to list status code by type. E.g.

$ hscode -l 2xx

This should generate the following. Note the title.

2xx Success

200 - OK
201 - Created
202 - Accepted
203 - Non-authoritative Information
204 - No Content
205 - Reset Content
206 - Partial Content
207 - Multi-Status
208 - Already Reported
226 - IM Used

Reference:

1xx Informational
2xx Sucess
3xx Redirection
4xx Client Error
5xx Server Error
ydaniju commented 7 years ago

I think I can play around with this.

akabiru commented 7 years ago

@andela-ydaniju Awesome! 🙌🏾 Be sure to raise a WIP PR soon as you can with a work-in-progress tag just to keep track of things.