| Crates.io | fastcommit |
| lib.rs | fastcommit |
| version | 0.1.1 |
| created_at | 2025-03-10 05:18:31.722305+00 |
| updated_at | 2025-03-10 06:50:21.620456+00 |
| description | AI-based command line tool to quickly generate standardized commit messages. |
| homepage | |
| repository | https://github.com/fslongjin/fastcommit |
| max_upload_size | |
| id | 1586179 |
| size | 49,667 |
fastcommit is a command-line tool designed to help developers quickly generate standardized commit messages. It supports multiple languages and detail levels, and can automatically generate commit messages based on file differences.
-- 中文文档:README_CN.md
You can install fastcommit using the following method:
# Install using cargo
cargo install fastcommit
git add .
fastcommit
-d, --diff-file <DIFF_FILE>: Specify the path to the file containing the differences.--conventional <CONVENTIONAL>: Enable or disable conventional commit style analysis. Acceptable values are true or false.-l, --language <LANGUAGE>: Specify the language for the commit message. Acceptable values are en (English) or zh (Chinese).-v, --verbosity <VERBOSITY>: Set the detail level of the commit message. Acceptable values are verbose (detailed), normal, or quiet (concise). The default is quiet.-h, --help: Print help information.-V, --version: Print version information.Generate a commit message using default settings:
fastcommit -d changes.diff
Enable conventional commit style and specify the Chinese language:
fastcommit -d changes.diff --conventional true -l zh
Set the detail level to verbose:
fastcommit -d changes.diff -v verbose
Contributions of code or suggestions are welcome! Please read the Contributing Guide first.
This project is licensed under the MIT License.