1
0
Fork 0

add main file to allow python3 -m pgcli execution

This commit is contained in:
Jonas Jelten 2019-11-25 22:46:28 +01:00
parent 901812a7bf
commit bc66b85730
2 changed files with 19 additions and 1 deletions

View File

@ -1,10 +1,19 @@
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).
2.2.0:
======
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`_)

9
pgcli/__main__.py Normal file
View File

@ -0,0 +1,9 @@
"""
pgcli package main entry point
"""
from .main import cli
if __name__ == "__main__":
cli()