We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
「命令行模式的支持」
即所有参数均由命令行来提供,如
grank --token=xxx repo lctt grank --start=2018-08-01 --stop=2018-09-01
实现方法
参考 http://click.palletsprojects.com/en/7.x/options/ 的文档,加入 option ,加入位置大致在
Grank/grank/core.py
Lines 16 to 19 in 7259124
检测到 Option 后,手动生成一个 config 实例,不再通过文件读取。可能涉及到 context 的传递,参考 http://click.palletsprojects.com/en/7.x/commands/#nested-handling-and-contexts
The text was updated successfully, but these errors were encountered:
fixed by LuuMing
Sorry, something went wrong.
No branches or pull requests
「命令行模式的支持」
即所有参数均由命令行来提供,如
grank --token=xxx repo lctt grank --start=2018-08-01 --stop=2018-09-01
实现方法
参考 http://click.palletsprojects.com/en/7.x/options/ 的文档,加入 option ,加入位置大致在
Grank/grank/core.py
Lines 16 to 19 in 7259124
检测到 Option 后,手动生成一个 config 实例,不再通过文件读取。可能涉及到 context 的传递,参考 http://click.palletsprojects.com/en/7.x/commands/#nested-handling-and-contexts
The text was updated successfully, but these errors were encountered: