Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ kodamas Public

File event driven Shell Executer.

License

borori/kodamas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kodamas

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.

Venefit

  • 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

Installation

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:PATH

Usage

usage: 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'

License

Note Content distributed under the MIT License.

About

File event driven Shell Executer.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages