Closed klauer closed 1 year ago
https://github.com/pcdshub/lightpath/blob/09210e08ad35b233bf4252822ec3dd765ed98a78/lightpath/__main__.py#L30
The intention was: python -m lightpath should call lightpath.__main__.main() but that currently doesn't happen
python -m lightpath
lightpath.__main__.main()
I think the following formation would be better and make the "main" functionality more accessible to non-CLI entrypoints
lightpath.__main__
lightpath.main
from . import main; main()
This duplicates #135 . I just haven't gotten to this yet 😬
My mental issue stack overfloweth
https://github.com/pcdshub/lightpath/blob/09210e08ad35b233bf4252822ec3dd765ed98a78/lightpath/__main__.py#L30
The intention was:
python -m lightpath
should calllightpath.__main__.main()
but that currently doesn't happenI think the following formation would be better and make the "main" functionality more accessible to non-CLI entrypoints
lightpath.__main__
intolightpath.main
lightpath.__main__
just dofrom . import main; main()