机会网络实用程序
on-tools的Python项目详细描述
Opportunity Network Python帮助程序
安装
pip install on-tools
可用工具
hipchat消息
向选定频道发送HipChat消息。
$ hipon.py room_id “This is a message @all”
$ hipon.py -h usage: hipon.py [-h] roomid message
- positional arguments:
- roomid message
- optional arguments:
-h, --help show this help message and exit
其中room_id是您的整数房间id。
检查迁移
根据重复的迁移数验证django项目(对于 医学-大型项目与ci)。
$ check_migrations.py -h usage: check_migrations.py [-h] [–strict] [-x exclude] dir
Find duplicated Django South migrations.
- positional arguments:
- dir directory
- optional arguments:
-h, --help show this help message and exit --strict exit with error code when first duplicated migration found -x exclude, --exclude exclude exclude pattern
devault客户端
在提供的环境中获取最新部署版本。
$ devault.py -h
usage: devault.py [-h] command [options]
- positional arguments:
- command options
- optional arguments:
-h, --help show this help message and exit $ devault.py gv production
4.14