Metadata-Version: 2.1
Name: sqltail
Version: 1.0.3
Summary: SQL Query Tail
Home-page: UNKNOWN
License: MIT
Platform: UNKNOWN
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: arrow
Requires-Dist: click
Requires-Dist: dotmap
Requires-Dist: mysql-connector
Requires-Dist: bumpversion
Provides-Extra: test
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-click ; extra == 'test'

# sqltail
Command line tool to tail a SQL query

[![PyPI](https://img.shields.io/pypi/v/sqltail.svg)](https://pypi.org/project/sqltail/)
[![Changelog](https://img.shields.io/github/v/release/rstms/sqltail?include_prereleases&label=changelog)](https://github.com/rstms/sqltail/releases)
[![Tests](https://github.com/rstms/sqltail/workflows/Test/badge.svg)](https://github.com/rstms/sqltail/actions?query=workflow%3ATest)
[![License](https://img.shields.io/github/license/rstms/sqltail)](https://github.com/rstms/sqltai/blob/master/LICENSE)


```
Usage: sqltail [OPTIONS]

Options:
  --version                       Show the version and exit.
  --host TEXT
  --port TEXT
  --user TEXT
  --password TEXT
  --database TEXT
  --config-file TEXT
  --timeout FLOAT
  --interval INTEGER
  --timezone TEXT
  --template TEXT                 json field template, or @FILENAME in cwd or
                                  ~/.sqltail

  --get-template                  output json field template
  --get-columns
  --suffix TEXT                   append SUFFIX to db name (defaults to _log)
  -r, --retry / -R, --no-retry    retry on database connection failures
  -t, --table TEXT                table name
  -c, --columns TEXT              comma delimited list of output column names
  -f, --filters TEXT              list of filter conditions
  -o, --output-format TEXT        output format
  -l, --log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
  --help                          Show this message and exit.
```


