ghub/cli.py
2021-11-04 21:48:38 -04:00

20 lines
298 B
Python

from ghub import GHub
from rich.prompt import Prompt
from rich import print
import httpx
def main():
user_name = Prompt.ask("Username?")
gh = GHub()
success = gh.load_user(user_name=user_name)
if success:
print(gh.repos_table())
if __name__ == "__main__":
main()