notify at finish允许您将任意shell命令作为参数传递,并在命令完成时获得良好的通知。
naf的Python项目详细描述
为什么?!
日常的编程任务,如代码编译和运行自动化测试,即使是在非常小的项目上,也常常要耗费大量的时间。
当alt键远离刚刚开始的命令时,这个简单的工具将帮助您尽快回到开发轨道。
每天为您节省分钟:)
安装
在带有pip的linux上:
sudo pip install naf
在装有pip(已安装growl)的Mac OS X上:
sudo pip install growl-py sudo pip install naf
在Windows上: 理论上,naf应该在安装了growl for windows(http://www.growlforwindows.com/)和growl py的windows上工作。 我非常感谢你对此的反馈。
来源:
git clone git://github.com/knutz3n/naf.git cd naf sudo python setup.py install
用法
naf mvn clean install<>这将运行^ {TT2}$,并在命令退出时返回通知。
定制
可以通过创建文件~/.naf.conf进行自定义。
默认配置:
[Success] description = finished successfully in %s timeout = -1 show = true [Failed] description = failed with return code %s in %s timeout = -1 show = true [Aborted] description = was aborted after %s timeout = -1 show = true