Closed geleems closed 5 years ago
Rolled back to scripts from entry_points in setup.py. entry_points config makes start process trigger mssqlcli.main directly, and we lose a chance to set PYTHONIOENCODING information.
entry_points
mssqlcli.main
PYTHONIOENCODING
entry_points = { "console_scripts": [ "mssql-cli.bat = mssqlcli.main:main", "mssql-cli = mssqlcli.main:main" ] },
For launching mssql-cli mssql-cli script, it is more appropriate to follow the way of launching azure-cli in az script.
mssql-cli
az
python -m azure.cli "$@"
Rolled back to scripts from entry_points in setup.py.
entry_points
config makes start process triggermssqlcli.main
directly, and we lose a chance to setPYTHONIOENCODING
information.For launching mssql-cli
mssql-cli
script, it is more appropriate to follow the way of launching azure-cli inaz
script.