mirror of https://github.com/dbcli/pgcli
Merge pull request #1123 from TheJJ/main-file
add main file to allow python3 -m pgcli execution
This commit is contained in:
commit
2b55da8481
|
@ -1,6 +1,12 @@
|
|||
Upcoming:
|
||||
=========
|
||||
|
||||
Features:
|
||||
---------
|
||||
|
||||
* Add `__main__.py` file to execute pgcli as a package directly (#1123).
|
||||
* Add support for ANSI escape sequences for coloring the prompt (#1122).
|
||||
|
||||
Internal:
|
||||
---------
|
||||
|
||||
|
@ -12,7 +18,6 @@ Internal:
|
|||
Features:
|
||||
---------
|
||||
|
||||
* Add support for ANSI escape sequences for coloring the prompt (#1123).
|
||||
* Add `\\G` as a terminator to sql statements that will show the results in expanded mode. This feature is copied from mycli. (Thanks: `Amjith Ramanujam`_)
|
||||
* Removed limit prompt and added automatic row limit on queries with no LIMIT clause (#1079) (Thanks: `Sebastian Janko`_)
|
||||
* Function argument completions now take account of table aliases (#1048). (Thanks: `Owen Stephens`_)
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
"""
|
||||
pgcli package main entry point
|
||||
"""
|
||||
|
||||
from .main import cli
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
cli()
|
Loading…
Reference in New Issue