eladrich / pyrallis

Pyrallis is a framework for structured configuration parsing from both cmd and files. Simply define your desired configuration structure as a dataclass and let pyrallis do the rest!
https://eladrich.github.io/pyrallis/
MIT License
198 stars 7 forks source link

Is it possible to stop accepting arguments from the command line? #26

Closed audreyeternal closed 1 year ago

audreyeternal commented 1 year ago

Hi, thank you for developing this powerful toolbox. I have a problem when trying to import a package which relies on the pyrallis into my own code. Because I use argparse in my script, pyrallis in that package seems also get my args from the command line, which leads to errors.
I wonder if it is possible to disable the pyrallis to read the args from command line(only get them from config_file)? Thank you!