hedyhli / starcli

:sparkles: Browse trending GitHub projects from your command line
https://pypi.org/project/starcli/
MIT License
550 stars 50 forks source link

Search by user: Issue #57 #65

Closed arcanearronax closed 4 years ago

arcanearronax commented 4 years ago

Context Closes #57

Description

Added the "--user" and "-U" flags to search trending repos by user. This flag requires an argument. If the username is not found a KeyError is returned (this is consistent with other searches that produce no results). If the username is found then only those repos owned by that user are displayed. A test has been included to validate the search functionality.