gregriff / gpt-cli

Frontend to OpenAI and Anthropic's LLM APIs with Markdown formatting. Focus on simplicity, extensibility and customizability.
MIT License
4 stars 0 forks source link

Refactor Typer arguments and options #12

Open gregriff opened 7 months ago

gregriff commented 7 months ago

In main.py the main() function is really ugly. Look at popular Typer repos to see how people organize this type annotation mess

gregriff commented 7 months ago

Also research more about Typer via its documentation in order to use cool features from the package