gpt_commit_messages 0.3.1 copy "gpt_commit_messages: ^0.3.1" to clipboard
gpt_commit_messages: ^0.3.1 copied to clipboard

Let ChatGPT suggest commit messages. Comes with a lot of options to customize to your needs.

gpt-commit-messages #

GitHub release (latest by date)

Use OpenAI's ChatGPT to suggest conventional commit messages for your currently staged changes.

Fun fact: all the commit messages on this repo have been created with the tool.

Usage #

Usage: gpt-commit-messages [options]

Options:
-c, --[no-]commit                   Select message and create commit or just display message suggestions
                                    (defaults to on)
-d, --[no-]disclaimer               Append disclaimer at the end of the commit message
                                    (defaults to on)
-g, --[no-]generated-code           Include generated files
-n, --num-messages                  Number of message suggestions to get from OpenAI
                                    (defaults to "3")
-a, --openai-api-key (mandatory)    Get yours at https://platform.openai.com/account/api-keys
-s, --[no-]sign-off                 Sign-off commits

With Dart source #

dart run bin/gpt_commit_messages.dart

Compile binary #

dart compile exe .\bin\gpt_commit_messages.dart -o build/gpt-commit-messages.exe

Install on PATH #

dart pub global activate gpt_commit_messages
gpt-commit-messages --help
2
likes
130
pub points
0%
popularity

Publisher

verified publishergoddchen.de

Let ChatGPT suggest commit messages. Comes with a lot of options to customize to your needs.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, dart_openai, fpdart, freezed_annotation, http, logger

More

Packages that depend on gpt_commit_messages