Metadata-Version: 2.0
Name: vcli
Version: 0.1.0
Summary: Vertica CLI with auto-completion and syntax highlighting
Home-page: http://github.com/dbcli/vcli
Author: Chang-Hung Liang
Author-email: eliang.cs@gmail.com
License: LICENSE.txt
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: Unix
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: SQL
Classifier: Topic :: Database
Classifier: Topic :: Database :: Front-Ends
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: click (>=4.1)
Requires-Dist: configobj (>=5.0.6)
Requires-Dist: prompt-toolkit (==0.57)
Requires-Dist: Pygments (>=2.0)
Requires-Dist: sqlparse (==0.1.16)
Requires-Dist: vertica-python (==0.5.5)
Requires-Dist: setproctitle (>=1.1.9)

vcli: A REPL for Vertica
========================

|Build Status| |PyPI|

A Vertica_ client that does auto-completion and syntax highlighting, based on
pgcli_.

.. image:: screenshots/vcli.gif


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

Just install it like a regular Python package::

    pip install vcli


Usage
-----
::

    Usage: vcli [OPTIONS] [DATABASE]

    Options:
      -h, --host TEXT        Database server host address  [default: localhost]
      -p, --port INTEGER     Database server port  [default: 5433]
      -U, --user TEXT        Database username  [default: eliang]
      -W, --prompt-password  Prompt for password  [default: False]
      -w, --password TEXT    Database password  [default: ]
      -v, --version          Print version and exit
      --vclirc TEXT          Location of .vclirc file  [default: ~/.vclirc]
      --help                 Show this message and exit.

Examples::

    # Use URL to connect
    vcli vertica://dbadmin:pass@localhost:5433/mydb

    # Prompt for password
    vcli -h localhost -U dbadmin -W -p 5433 mydb

    # Don't prompt for password
    vcli -h localhost -U dbadmin -w pass -p 5433 mydb

    # Use VERTICA_URL environment variable
    VERTICA_URL=vertica://dbadmin:pass@localhost:5433/mydb vcli


Thanks
------

Thanks to pgcli_. Most of the hard work, especially the auto-completion part,
were already done well by the pgcli core team. vcli wouldn't be possible if it
weren't for them.


.. |Build Status| image:: https://api.travis-ci.org/dbcli/vcli.svg?branch=master
    :target: https://travis-ci.org/dbcli/vcli

.. |PyPI| image:: https://img.shields.io/pypi/v/vcli.svg
    :target: https://pypi.python.org/pypi/vcli/
    :alt: Latest Version

.. _pgcli: http://pgcli.com
.. _Vertica: http://www.vertica.com/


