changelog_cmd 0.0.1-beta.2 changelog_cmd: ^0.0.1-beta.2 copied to clipboard
Command-line application to manage in the correct way the git metadata to build the changelog.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add changelog_cmd
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
changelog_cmd: ^0.0.1-beta.2
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:changelog_cmd/config/config_manager.dart';
import 'package:changelog_cmd/config/config_model.dart';
import 'package:changelog_cmd/config/config_model.g.dart';
import 'package:changelog_cmd/constant.dart';
import 'package:changelog_cmd/fetcher/git_cmd_fectcher.dart';
import 'package:changelog_cmd/fetcher/github_fetcher.dart';
import 'package:changelog_cmd/method/generator_mediator.dart';
import 'package:changelog_cmd/method/header_msg.dart';
import 'package:changelog_cmd/method/metadata_msg.dart';
import 'package:changelog_cmd/method/method_generation.dart';
import 'package:changelog_cmd/printer/md/markdown_printer.dart';
import 'package:changelog_cmd/printer/printer_interface.dart';
import 'package:changelog_cmd/printer/printer_mediator.dart';
import 'package:changelog_cmd/queries/get_last_commits.graphql.dart';
import 'package:changelog_cmd/queries/get_last_commits.graphql.g.dart';
import 'package:changelog_cmd/queries/last_tag.graphql.dart';
import 'package:changelog_cmd/queries/last_tag.graphql.g.dart';
import 'package:changelog_cmd/queries/schema.docs.graphql.dart';
import 'package:changelog_cmd/queries/schema.docs.graphql.g.dart';