Metadata-Version: 2.1
Name: reflexec
Version: 0.2.0
Summary: Utility to automate annoying save-and-run routines in terminal environment
Home-page: https://github.com/ookull/reflexec
Download-URL: https://github.com/ookull/reflexec/archive/v0.2.0.tar.gz
Author: Ivar Smolin
Author-email: okul@linux.ee
License: MIT
Keywords: reflexec
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Terminals
Classifier: Topic :: Utilities
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Requires-Dist: pyinotify

# Reflexec

Reflexec is a utility to automate annoying save-and-run routines in terminal
environment. Reflexec watches file system and triggers command execution on
specified file event (e.g. file change).


## Features

* Watch file system events (e.g. file change) using shell patterns.
* Execute command on file system event.
* Display summary of command execution (time spent, exit code).
* Support for different outputs (including standard logging, terminal output,
  terminal titlebar and system notification).
* Quick configuration with command line arguments.
* Advanced configuration using config file.
* Config file generation from command line.


## Activity diagram

  ```
  .------------------------------------------------------------.
  :                                                            :
  :                  O                                         :
  :                  |                                         :
  :          .--------------.                                  :
  :          |Parse CLI args|                                  :
  :          ˋ--------------ˊ                                  :
  :                  |                                         :
  :          .---------------.                                 :
  :          |(Re)load config| <--------------------.          :
  :          ˋ---------------ˊ                      |          :
  :                  |                              |          :
  :          .---------------.                      |          :
  :          |Execute command|                      |          :
  :          ˋ---------------ˊ                      |          :
  :                  |                              |          :
  :          .--------------.                       |          :
  :          |Report results|                       |          :
  :          ˋ--------------ˊ                       |          :
  :                  |                              |          :
  :           .-------------.                       |          :
  :           |Reload config|                       |          :
  :           ˋ-------------ˊ                       |          :
  :                  |                              |          :
  :          .----------------.                     |          :
  :          |Watch filesystem|                     |          :
  :          ˋ----------------ˊ                     |          :
  :                  |         Filesystem event /   |          :
  :          .--------------.  SIGQUIT              |          :
  :          |Register event| >---------------------ˊ          :
  :          ˋ--------------ˊ                                  :
  :                  |                                         :
  :                  | Keyboargd interrupt ^C                  :
  :                  |                                         :
  :                  V                                         :
  :                  O                                         :
  :                                                            :
  `------------------------------------------------------------'
  ```


