release_tools 0.2.0 release_tools: ^0.2.0 copied to clipboard
A collection of scripts to help with creating releases and publishing libraries.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate release_tools
Use it
The package has the following executables:
$ release_tools
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add release_tools
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
release_tools: ^0.2.0
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:release_tools/exec.dart';
import 'package:release_tools/git_exec.dart';
import 'package:release_tools/help_footer.dart';
import 'package:release_tools/next_version_command.dart';
import 'package:release_tools/printer.dart';
import 'package:release_tools/release_tools_command.dart';
import 'package:release_tools/release_tools_runner.dart';
import 'package:release_tools/runner.dart';
import 'package:release_tools/runner_runner.dart';
import 'package:release_tools/update_version_command.dart';