-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Use click instead of argparse on PydanticAI CLI #3080
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@DouweM Unrelated linting errors to this PR still seem to be showing up. Thought it was an issue with my rebase in my closed PR |
@assadyousuf Looking it |
Everything is ready on this PR now |
cli = [ | ||
"rich>=13", | ||
"prompt-toolkit>=3", | ||
"argcomplete>=3.5.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this dependency was dropped?
sys.exit(cli(prog_name=prog_name)) | ||
|
||
|
||
def cli( # noqa: C901 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this factory still needed like this?
Closes #1702