gh-contributors

Generate contributors.md via the command line


Keywords
contributors, github
License
MIT
Install
pip install gh-contributors==0.1.0

Documentation

gh-contributors PyPI version License: MIT

Github 项目贡献者 Markdown 文档表格生成工具

安装

$ pip install gh-contributors

用法

$ gh-c --help
usage: gh-c [-h] [-p PATH] [-c COUNT] [-v] REPO

Generate contributors.md via the command line

positional arguments:
  REPO                  the github repo.(:owner/:repo)

optional arguments:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  the output file path.(default CONTRIBUTORS.md)
  -c COUNT, --count COUNT
                        the columns count in one row.(default 6)
  -v, --version         displays the current version of gh-c

示例

以 pyecharts 这个项目为例子

$ gh-c pyecharts/pyecharts

CONTRIBUTORS.md

chenjiandongx chfw kinegratii crispgm muxuezi landpack
chenjiandongx chfw kinegratii crispgm muxuezi landpack
647-coder sd8089730 MiracleXYZ Zeroto521 mowujilun shkey
647-coder sd8089730 MiracleXYZ Zeroto521 mowujilun shkey
xbanke
xbanke

指定每行列数

$ gh-c pyecharts/pyecharts -c 7 -p 贡献者列表.md

贡献者列表.md

chenjiandongx chfw kinegratii crispgm muxuezi landpack 647-coder
chenjiandongx chfw kinegratii crispgm muxuezi landpack 647-coder
sd8089730 MiracleXYZ Zeroto521 mowujilun shkey xbanke
sd8089730 MiracleXYZ Zeroto521 mowujilun shkey xbanke

LICNESE

MIT @chenjiandongx