Metadata-Version: 2.0
Name: cqh-file-watcher
Version: 0.0.2
Summary: tools like vscode file-watcher but for command only
Home-page: https://github.com/pypa/sampleproject
Author: chenqinghe
Author-email: 1832866299@qq.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Unix
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: click
Requires-Dist: pyinotify

cqh_file_watcher
=============================================

something like `File-Watcher` for vscode


## Usage
-------------------------------------------------

`cqh-file-watch -c ***.conf`

### conf example
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


.. code-block::

    {"command_list":[
        {
            "pattern": "*.py",
            "command": "sudo supervisorctl restart redis"
        },
        {
            "command": "echo things changed"
        }
    ]
    "directory": "/home/vagrant/code/code1"
    }


