appleboy / CodeGPT

A CLI written in Go language that writes git commit messages or do a code review brief for you using ChatGPT AI (gpt-4o, gpt-4-turbo, gpt-3.5-turbo model) and automatically installs a git prepare-commit-msg hook.
MIT License
1.16k stars 100 forks source link

[Suggestion] Provide "codegpt config list" to list all config settings #123

Closed doggy8088 closed 8 months ago

doggy8088 commented 8 months ago

I'd like to suggest you to add a list subcommand to list existing config settings like this:

codegpt config list

It will be better to mask the sensitive data such as openai.api_key on the output of the codegpt config list.

By the way, the codegpt config only have a set subcommand, but the help message didn't show that.

appleboy commented 8 months ago

try https://github.com/appleboy/CodeGPT/releases/tag/v0.6.0

doggy8088 commented 8 months ago

@appleboy The openai.api_key is not masked. It's sensitive.

appleboy commented 8 months ago

@doggy8088 fixed in https://github.com/appleboy/CodeGPT/releases/tag/v0.6.1