dlcov 4.2.1 copy "dlcov: ^4.2.1" to clipboard
dlcov: ^4.2.1 copied to clipboard

A CLI to add code coverage threshold (CI/CD, git hooks, etc.)

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate dlcov

Use it

The package has the following executables:

$ dlcov

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dlcov

With Flutter:

 $ flutter pub add dlcov

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dlcov: ^4.2.1

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dlcov/core/app_constants.dart';
import 'package:dlcov/core/app_error_codes.dart';
import 'package:dlcov/core/commands/app_command.dart';
import 'package:dlcov/core/commands/gen_refs_command.dart';
import 'package:dlcov/core/extensions/list_extension.dart';
import 'package:dlcov/entities/config.a.dart';
import 'package:dlcov/entities/config.dart';
import 'package:dlcov/entities/coverage.dart';
import 'package:dlcov/entities/lcov.dart';
import 'package:dlcov/models/config_model.dart';
import 'package:dlcov/repositories/config_repository.dart';
import 'package:dlcov/repositories/record_repository.dart';
import 'package:dlcov/usecases/create_file_references.dart';
import 'package:dlcov/usecases/delete_file_references.dart';
import 'package:dlcov/usecases/get_config.dart';
import 'package:dlcov/usecases/get_lcov.dart';
import 'package:dlcov/usecases/get_records.dart';
import 'package:dlcov/usecases/parse_arguments.dart';
import 'package:dlcov/usecases/verify_coverage.dart';
import 'package:dlcov/utils/file_matcher_util.dart';
import 'package:dlcov/utils/file_system/file_system_util.dart';
import 'package:dlcov/utils/logger.dart';
import 'package:dlcov/utils/process_util.dart';
11
likes
160
pub points
76%
popularity

Publisher

unverified uploader

A CLI to add code coverage threshold (CI/CD, git hooks, etc.)

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, lcov_parser

More

Packages that depend on dlcov