Skip to content

colinta/punt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

punt

I saw kicker the other day and thought: I could write that in a minute!

So I did.

INSTALLATION

$ pip install punt

USAGE

$ punt 'du -sh'                   # list file sizes, update the list when a file in cwd changes
$ punt -w tests/ -w lib/ py.test  # run py.test when any file in tests/ or lib/ changes
$ punt -w info.yml py.test        # run py.test when info.yml changes
$ punt -l make                    # only monitor "local" files (don't observe subdirectories)
$ punt --info -w src make         # show info like command status
$ punt --help
$ punt --version

INFO

punt is a tiny tool, just one __init__.py file. It uses watchdog to monitor file changes, and docopt to parse command line arguments.

LICENSE

Author:Colin Thomas-Arnold
Copyright:2012 Colin Thomas-Arnold <http://colinta.com/>

Copyright (c) 2012, Colin Thomas-Arnold All rights reserved.

See LICENSE for more details (it's a simplified BSD license).

About

Execute shell command when file(s) change

Resources

License

Stars

Watchers

Forks

Packages

No packages published