commit_info 0.2.0 copy "commit_info: ^0.2.0" to clipboard
commit_info: ^0.2.0 copied to clipboard

Safely get version control information in a Dart project.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate commit_info

Use it

The package has the following executables:

$ initialize

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add commit_info

With Flutter:

 $ flutter pub add commit_info

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

dependencies:
  commit_info: ^0.2.0

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:commit_info/commit_info.dart';
1
likes
130
points
197
downloads

Publisher

verified publisherlalomartins.info

Weekly Downloads

Safely get version control information in a Dart project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

build, path

More

Packages that depend on commit_info