Last updated:
0 purchases
injil cli
injil_cli #
Generated by the [Very Good CLI][very_good_cli_link] ๐ค
My new Dart CLI package.
Getting Started ๐ #
If the CLI application is available on pub, activate globally via:
dart pub global activate injil_cli
copied to clipboard
Or locally via:
dart pub global activate --source=path <path to this package>
copied to clipboard
Usage #
# Create new feature in project
$ inj feature --name=auth
# Show CLI version
$ inj --version
# Show usage help
$ inj --help
copied to clipboard
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
copied to clipboard
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
copied to clipboard
[very_good_cli_link]: https://github.com/VeryGoodOpenSource/very_good_cli# injil_cli
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.