mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
For migration from scripts to console_scripts in setup.py, the current long if __name__ == "__main__": section is a blocker because the console_scripts requires to specify a function as an entrypoint. Move the logic into a main() function.