2017 © Pedro Peláez
 

library copyrightdoc

Chinese software copyright source document generation tool.

image

bkkkd/copyrightdoc

Chinese software copyright source document generation tool.

  • Wednesday, March 21, 2018
  • by bkkkd
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

开发理由

在申请软件著作权时,需要提供源代码打印件,如果手工编辑,控制出错,而且更新也不方便,所以就写了一个代码把这个工作变成一个命令, (*1)

快速使用

先要确认已经安装了php程序, (*2)

php copyrightdoc.phar -d /path/to/project -x /.git/ -x /tmp/ -x /vendors/ -e php -e tpl 

即会在当前目录下生成project.docx文档, (*3)

源码应用

配置环境, (*4)

git clone https://github.com/bkkkd/copyrightdoc.git
composer install

使用源码执行, (*5)

php copyrightdoc.php -d /path/to/project -x /.git/ -x /tmp/ -x /vendors/ -e php -e tpl 

编译成phar

在源码应用可以执行的基础上,只要执行以下命令,即可生成 copyrightdoc.phar包, (*6)

php build-doc.php

将会在dist目录下创建 copyrightdoc.phar 包, (*7)

其它说明

在linux环境下, 可以把copyrightdoc.phar 复制到 /usr/local/bin/copyrightdoc 以后就可以直接 copyrightdoc 命令了, (*8)

The Versions

21/03 2018

dev-master

9999999-dev https://github.com/bkkkd/copyrightdoc

Chinese software copyright source document generation tool.

  Sources   Download

MIT

The Requires

 

07/02 2018

v1.0

1.0.0.0 https://github.com/bkkkd/copyrightdoc

Chinese software copyright source document generation tool.

  Sources   Download

MIT

The Requires