Metadata-Version: 2.1
Name: ctail
Version: 0.0.3
Summary: A colored tail
Home-page: https://github.com/otger/ctail
Author: Otger Ballester
Author-email: otger@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/otger/ctail/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

# ctail = colored tail

ctail is a command line script used to show the last lines of a file adding color to provided regular expressions.


```
ctail$ ctail -h
usage: ctail [-h] [-d] [-l NLINES] [-f] [-s] file_path [reg_exes [reg_exes ...]]

positional arguments:
  file_path           path of the file
  reg_exes            regular expressions to colour on the file (default: None)

optional arguments:
  -h, --help          show this help message and exit
  -d                  color date times in format: yyyy-mm-dd HH:MM:SS (default: False)
  -l NLINES           how many last lines show from file (default: 10)
  -f, --follow        output appended data as the file grows (default: False)
  -s, --show-regexes  show applied regular expresions (default: False)
```

# Install

```
pip install ctail
```

