fastcommit-0.1.1 is not a library.
fastcommit
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
Installation
You can install fastcommit
using the following method:
# Install using cargo
Usage
Basic Usage
Options
-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 aretrue
orfalse
.-l, --language <LANGUAGE>
: Specify the language for the commit message. Acceptable values areen
(English) orzh
(Chinese).-v, --verbosity <VERBOSITY>
: Set the detail level of the commit message. Acceptable values areverbose
(detailed),normal
, orquiet
(concise). The default isquiet
.-h, --help
: Print help information.-V, --version
: Print version information.
Examples
-
Generate a commit message using default settings:
-
Enable conventional commit style and specify the Chinese language:
-
Set the detail level to
verbose
:
Contributing
Contributions of code or suggestions are welcome! Please read the Contributing Guide first.
License
This project is licensed under the MIT License.