一个快速管理样板结构的命令行工具,称为**plates**,它是可扩展的
boiler的Python项目详细描述
:: 一个快速管理样板结构的命令行工具,名为plates,它是可扩展的
示例用法:
$ boiler -l Present plates ================================================================================================================= | plate name | type | author | description | ================================================================================================================= | initscript | copy | mogui | A template for init.d script of non-daemon app | | wordpress | bash | mogui | A quick way to have the latest wordpress version | | wp_theme | bash | mogui | Wordpress theme bare template | ================================================================================================================= $ boiler initscript nameyouwant_forscript
其基本思想是有一个中央方法来调用常用脚本模板或常用的文件夹布局等。 它都基于名为plates的tpl文件/文件夹,这是要创建的模板
- 锅炉-l将列出所有可用的点火板
- 锅炉<;板名>;帮助将提供有关该板的帮助
- 锅炉<;盘名>;[新盘名]将在当前目录中用新盘名创建样板
安装
来自包索引:
$ pip install boiler
来自源
从此处下载或克隆,然后:
$ python setup.py install
编写自定义TPL
版权
版权所有©2012 Niko Usai。有关详细信息,请参见许可证。