为您生成许可证
licen的Python项目详细描述
生成许可证。又一个lice,但用jinja实现。
安装
$ pip install licen
用法
一个gif胜过千言万语
演示gif
简而言之,生成一个licnese:
$ licen mit > LICENSE
生成标题:
$ licen header gpl-2.0-header > main.py
或者从终端获取详细的帮助信息
$ licen -h licen, generates license for you via command line Usage: licen [header] (-l | --list) licen [-y YEAR] [-f FULLNAME] [-e EMAIL] LICENSE_NAME licen header [-y YEAR] [-f FULLNAME] [-e EMAIL] LICENSE_HEADER licen --var NAME licen (-h | --help) licen (-V | --version) Options: -l --list List all the support licenses or headers. -y YEAR Specify the year. -f FULLNAME Specify the owner's fullname. -e EMAIL Specify the email. --var List all the variables in the template. -h --help Show the help message. -V --version Show the version info.
许可证
麻省理工学院。