-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
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
Add project baseconfig #147
base: main
Are you sure you want to change the base?
Add project baseconfig #147
Conversation
@@ -131,4 +139,24 @@ Some advanced features like line count by language require additional tools (e.g | |||
The `git amend` command modifies Git history. Use it with caution, especially if you've already pushed the commit you're amending to a shared repository. | |||
::: | |||
|
|||
7. To initialize the GCOP configuration in the project: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我理解这个不算第七点,算一个新的 example case。
@@ -0,0 +1,65 @@ | |||
# Configure Your Project |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以改成 Project based configuration
config = get_config() | ||
logger.color_info(f"Current gcop config: {config}") | ||
|
||
|
||
@app.command(name="help") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
help 需要加上对应的命令
def show_config_command(): | ||
"""command to show the current gcop config""" | ||
config = get_config() | ||
logger.color_info(f"Current gcop config: {config}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个输出要格式化一下
Description
Add project baseconfig
Related Issue
#126
Type of Change
Checklist
CODE_OF_CONDUCT.md
document.CONTRIBUTING.md
guide.make codestyle
.