lucy从命令行为您生成项目的许可文件。
luc的Python项目详细描述
啊![](https://knowledgeme.s3.amazonaws.com/uploads/collection/background_image/43/cover_step3.jpg)
#露西
为项目生成license文件的cli工具。
啊![](http://i.imgur.com/ttyy7nk.gif?1)
>;功能
>;-用简单的python编写 >;-易于[安装](https://github.com/pattu777/Lucy#installation) >;-[易于使用](https://github.com/pattu777/Lucy#usage) >;-使用github v3 api创建[license](https://github.com/karan/joe#list-all-available-files)文件。
##使用的python库
##安装
###选项1:via[pip](https://pypi.python.org/pypi/Lucy)
`bash $ pip install lucy `
###选项2:源代码
`bash $ git clone --recursive git@github.com:pattu777/Lucy.git $ cd Lucy/ $ python setup.py install `
##用法
###列出所有可用的许可证
`bash $ lucy list `
输出:
`bash mit mpl-2.0gpl-3.0lgpl-3.0 unlicense bsd-2-clause isc lgpl-2.1gpl-2.0apache-2.0cc0-1.0artistic-2.0bsd-3-clauseagpl-3.0epl-1.0 `
###生成新许可证。
`bash $ lucy create <License Name> --name=<Author Name> $ lucy create mit --name=Chinmaya # Creates a MIT license for your project. `
##贡献
####错误报告和功能请求
通过[Issue Tracker](https://github.com/pattu777/Lucy/issues)报告任何错误。
####开发
创建一个新分支并发送一个请求。要开始开发,请执行以下操作:
`bash # Create a virtual environment $ git clone --recursive git@github.com:pattu777/Lucy.git $ cd Lucy $ virtualenv venv $ source venv/bin/activate $ pip install -r requirements.txt $ git checkout -b<feature-branch-name> $ python lucy/lucy.py list `