Closed castelao closed 1 year ago
Thanks for the suggestion! I tend to avoid using external scripts, to avoid polluting the CLI namespace. But for this package, I think the extra user-friendliness is worth it. I'll draft a fix and merge into main. There will be minor changes to the documentation as well, which you can inspect at https://effluent.readthedocs.io/en/main/
There is nothing wrong with how you did it with
__main__
. I usually define an external script, and take advantage of custom controls withargparse
orclick
. Here an example using click.Just a suggestion, feel free to ignore it.