This commit is contained in:
parent
a5565472bc
commit
a2a17ac04a
3
cli.py
3
cli.py
@ -10,8 +10,7 @@ def main():
|
|||||||
user_name = Prompt.ask("Username?")
|
user_name = Prompt.ask("Username?")
|
||||||
gh = GHub()
|
gh = GHub()
|
||||||
try:
|
try:
|
||||||
success = gh.load_user(user_name=user_name)
|
gh.load_user(user_name=user_name)
|
||||||
if success:
|
|
||||||
print(gh.repos_table())
|
print(gh.repos_table())
|
||||||
except httpx.HTTPStatusError as e:
|
except httpx.HTTPStatusError as e:
|
||||||
print(e)
|
print(e)
|
||||||
|
Loading…
Reference in New Issue
Block a user