chance_dart_cli 0.0.1-beta copy "chance_dart_cli: ^0.0.1-beta" to clipboard
chance_dart_cli: ^0.0.1-beta copied to clipboard

Random generator helper for Dart

chance_dart_cli #

coverage style: very good analysis License: MIT

Generated by the Very Good CLI ๐Ÿค–

A Very Good Project created by Very Good CLI..


Getting Started ๐Ÿš€ #

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

dart pub global activate chance_dart_cli

Or locally via:

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

Usage #

# Sample command
$ chance_dart_cli sample

# Sample command optioon
$ chance_dart_cli sample --cyan

# Show CLI version
$ chance_dart_cli --version

# Show usage help
$ chance_dart_cli --help

Running Tests with coverage ๐Ÿงช #

To run all unit tests use the following command:

$ dart pub global activate coverage 1.2.0
$ 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