Repository for the new SQL cross-platform command line tools
Перейти к файлу
Ronald Quan 3068573353 Feature/stdout fix (#84)
* Adding logic to set PYTHONIOENCODING and clean up.

* Adding PYTHONIOENCODING env var to sh script.

* Removing debug print statement.

* Removing unused os import.
2017-05-18 13:58:42 -07:00
doc Update development_guide.md 2017-05-17 10:32:51 -07:00
mssqlscripter Feature/stdout fix (#84) 2017-05-18 13:58:42 -07:00
mssqltoolsservice Feature/travis ci (#74) 2017-05-12 09:33:53 -07:00
.bumpversion.cfg Bump sqltoolsservice version with script data fix (#72) 2017-05-09 15:28:40 -07:00
.gitattributes Fixing syntax error 2017-03-24 14:27:37 -07:00
.gitignore Public preview/update setup wheel (#51) 2017-05-01 11:53:01 -07:00
.travis.yml Regenerated and removed code cov token. 2017-05-16 10:54:47 -07:00
LICENSE.txt Refactor/folder structure (#23) 2017-04-13 11:21:47 -07:00
MANIFEST.in Public preview/update setup wheel (#51) 2017-05-01 11:53:01 -07:00
README.rst Update README.rst 2017-05-16 20:42:34 -07:00
appveyor.yml Feature/appveyor support (#80) 2017-05-16 14:29:50 -07:00
dev_setup.py Feature/travis ci (#74) 2017-05-12 09:33:53 -07:00
mssql-scripter Feature/stdout fix (#84) 2017-05-18 13:58:42 -07:00
mssql-scripter.bat Feature/stdout fix (#84) 2017-05-18 13:58:42 -07:00
register_upload.py Feature/travis ci (#74) 2017-05-12 09:33:53 -07:00
requirements.txt Feature/upgrade testing (#78) 2017-05-15 20:11:31 -07:00
setup.cfg Modifying flake8 config to check for explicit files/directories. (#79) 2017-05-16 10:51:23 -07:00
setup.py Feature/log encoding (#81) 2017-05-17 08:11:36 -07:00
sql-xplat-cli.pyproj Feature/upgrade testing (#78) 2017-05-15 20:11:31 -07:00
sql-xplat-cli.sln Add visual studio solution and python project 2017-04-13 14:06:20 -07:00
tox.ini Modifying flake8 config to check for explicit files/directories. (#79) 2017-05-16 10:51:23 -07:00
utility.py Feature/travis ci (#74) 2017-05-12 09:33:53 -07:00
verify_packaging.py Feature/travis ci (#74) 2017-05-12 09:33:53 -07:00

README.rst

Этот файл содержит невидимые символы Юникода!

Этот файл содержит невидимые символы Юникода, которые могут быть отображены не так, как показано ниже. Если это намеренно, можете спокойно проигнорировать это предупреждение. Используйте кнопку Экранировать, чтобы показать скрытые символы.

Этот файл содержит неоднозначные символы Юникода, которые могут быть перепутаны с другими в текущей локали. Если это намеренно, можете спокойно проигнорировать это предупреждение. Используйте кнопку Экранировать, чтобы подсветить эти символы.

.. image:: https://travis-ci.org/Microsoft/sql-xplat-cli.svg?branch=dev
    :target: https://travis-ci.org/Microsoft/sql-xplat-cli
.. image:: https://ci.appveyor.com/api/projects/status/vpm8p71265ijytqs/branch/dev?svg=true
    :target: https://ci.appveyor.com/project/MrMeemus/sql-xplat-cli
.. image:: https://codecov.io/gh/Microsoft/sql-xplat-cli/branch/dev/graph/badge.svg?token=M96uWrHOIu
  :target: https://codecov.io/gh/Microsoft/sql-xplat-cli/branch/dev
.. image:: https://badge.fury.io/py/mssql-scripter.svg
  :target: https://pypi.python.org/pypi/mssql-scripter  
.. image:: https://img.shields.io/pypi/pyversions/mssql-scripter.svg   
   :target: https://travis-ci.org/Microsoft/sql-xplat-cli
   
mssql-scripter 1.0.0a1
============================

Were excited to introduce mssql-scripter, a multi-platform command line
experience for scripting SQL Server databases.

mssql-scripter is the multiplatform command line equivalent of the widely used Generate Scripts Wizard experience in SSMS. You can use mssql-scripter on Linux, macOS, and Windows to generate data definition language (DDL) and data manipulation language (DML) T-SQL scripts for database objects in SQL Server running anywhere, Azure SQL Database, and Azure SQL Data Warehouse. You can save the generated T-SQL script to a .sql file or pipe it to standard *nix utilities (for example, sed, awk, grep) for further transformations. You can edit the generated script or check it into source control and subsequently execute the script in your existing SQL database deployment processes and DevOps pipelines with standard multiplatform SQL command line tools such as sqlcmd.
 
mssql-scripter is built using Python and incorporates the usability principles of the new Azure CLI 2.0 tools. 

Installation
------------

.. code:: bash

    $ pip install mssql-scripter

Please refer to the `installation guide`_ for detailed install instructions. 

Usage
-----

Please refer to the `usage guide`_ for details on options and example usage.

For general help content, pass in the ``-h`` parameter:

.. code:: bash

    $ mssql-scripter -h

Contributing
-----------------------------
If you would like to contribute to the project, please refer to the `development guide`_.

Reporting issues and feedback
-----------------------------

If you encounter any bugs with the tool please file an issue in the
`Issues`_ section of our GitHub repo.

Code of Conduct
---------------

This project has adopted the `Microsoft Open Source Code of Conduct`_.

For more information see the `Code of Conduct FAQ`_ or contact
opencode@microsoft.com with any additional questions or comments.

License
-------

mssql-scritper is licensed under the `MIT license`_.

.. _installation guide: doc/installation_guide.md
.. _development guide: doc/development_guide.md
.. _usage guide: doc/usage_guide.md
.. _Issues: https://github.com/Microsoft/sql-xplat-cli/issues
.. _Microsoft Open Source Code of Conduct: https://opensource.microsoft.com/codeofconduct/
.. _Code of Conduct FAQ: https://opensource.microsoft.com/codeofconduct/faq/
.. _MIT license: https://github.com/Microsoft/sql-xplat-cli/blob/dev/LI