__main__.py 381 B

12345678910111213141516171819
  1. from __future__ import absolute_import
  2. from __future__ import print_function
  3. from flower.command import FlowerCommand
  4. from flower.utils import bugreport
  5. def main():
  6. try:
  7. flower = FlowerCommand()
  8. flower.execute_from_commandline()
  9. except:
  10. import sys
  11. print(bugreport(), file=sys.stderr)
  12. raise
  13. if __name__ == "__main__":
  14. main()