changelog_cli 0.0.2 copy "changelog_cli: ^0.0.2" to clipboard
changelog_cli: ^0.0.2 copied to clipboard

outdated

A Very Good Project created by Very Good CLI.

changelog_cli #

CLI to generate an opinionated changelog


Getting Started ๐Ÿš€ #

If the CLI application is available on pub, activate globally via:

dart pub global activate changelog_cli

Or locally via:

dart pub global activate --source=path <path to this package>

Usage #

changelog_cli generate

# or
changelog_cli generate --path ~/Projects/my-app --start 1.0.0 --end 1.1.0 -l 2000 > CHANGELOG.md

Running Tests with coverage ๐Ÿงช #

To run all unit tests use the following command:

$ dart pub global activate coverage
$ dart test --coverage=coverage
$ dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html