Skip to content
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

[Feature Request] interaction with Fire #99

Open
glyh opened this issue Sep 28, 2024 · 3 comments
Open

[Feature Request] interaction with Fire #99

glyh opened this issue Sep 28, 2024 · 3 comments

Comments

@glyh
Copy link

glyh commented Sep 28, 2024

I would like to have source from cli args, and still being able to use python-fire.

Is there a solution? Thanks :)

@silvanmelchior
Copy link
Collaborator

silvanmelchior commented Sep 29, 2024 via email

@glyh
Copy link
Author

glyh commented Sep 29, 2024

I think I want to clarify it a bit. python-fire has the ability of looking into a data structure and generate the CLI interface by itself, which is similar to pydantic. End user only need to specify the data structure and pydantic/python-fire can generate relevant code. I'm wondering if it's possible to specify my config once and let both python-fire and confz recognize them without interfering.

@silvanmelchior
Copy link
Collaborator

silvanmelchior commented Sep 30, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants