File event driven Shell Executer.
It is created as a development tool intended to be used when you want to automatically execute the intended Shell when updating target files.
- easy installation
- privilege are not require for installation
- less dependency (need python and libc)
- clear code
- aim to work with python>=2.7, 3.5 and LinuxKernel>=2.6.13
- easy useful
- less configuration
This is not distributing to PyPI, only github.
pip install --user git+https://github.com/borori/kodamas
# you need to add it to your ~/.profile or ~/.bashrc.
# export PATH=$(python -m site --user-base)/bin:PATHusage: kodamas [-h] -d PATH -s SHELL [-e EXTENSIONS]
optional arguments:
-h, --help show this help message and exit
-d PATH, --dir PATH (required) Write the absolute path to the directory
whose change you want to detect
-s SHELL, --shell SHELL
(required) The Shell you want to execute when changing
the files
-e EXTENSIONS, --ext EXTENSIONS
(not required, default=all) Extension List that
separated by comma. If the update file extension is
included in this option, Shell will be executed.
Otherwise not do anything. (e.g. -e py,txt,log(e.g.
kodamas -d /tmp -s 'gcc /tmp/file.c -o file'Note Content distributed under the MIT License.