codekingpro/portable-devtools
115k
1#!/usr/bin/env python2#3# Copyright (C) 2009-2020 the sqlparse authors and contributors4# <see AUTHORS file>5#6# This module is part of python-sqlparse and is released under7# the BSD License: https://opensource.org/licenses/BSD-3-Clause8 9"""Entrypoint module for `python -m sqlparse`.10 11Why does this file exist, and why __main__? For more info, read:12- https://www.python.org/dev/peps/pep-0338/13- https://docs.python.org/2/using/cmdline.html#cmdoption-m14- https://docs.python.org/3/using/cmdline.html#cmdoption-m15"""16 17import sys18 19from sqlparse.cli import main20 21if __name__ == '__main__':22 sys.exit(main())23 