ghub/cli.py

19 lines
268 B
Python
Raw Normal View History

2021-11-04 05:01:35 +00:00
from ghub import GHub
from rich.prompt import Prompt
from rich import print
2021-11-04 02:26:39 +00:00
import httpx
2021-11-04 05:01:35 +00:00
def main():
user_name = Prompt.ask("Username?")
gh = GHub()
gh.load_user(user_name=user_name)
print(gh.repos_table())
2021-11-04 02:26:39 +00:00
if __name__ == "__main__":
main()