better_commit 1.7.2 copy "better_commit: ^1.7.2" to clipboard
better_commit: ^1.7.2 copied to clipboard

Let AI write a Better Commit. Better Commit is a Dart package that uses AI to generate meaningful commit messages based on your code changes.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate better_commit

Use it

The package has the following executables:

$ better-commit
$ better_commit

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add better_commit

With Flutter:

 $ flutter pub add better_commit

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  better_commit: ^1.7.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:better_commit/better_commit.dart';
13
likes
150
points
75
downloads

Publisher

unverified uploader

Weekly Downloads

Let AI write a Better Commit. Better Commit is a Dart package that uses AI to generate meaningful commit messages based on your code changes.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

dcli, google_generative_ai

More

Packages that depend on better_commit