Skip to content

coverage_manager Pro

Test coverage pipeline with configurable thresholds and exclusions. Adds the coverage command to the base monorepo_toolkit.

Version: 1.0.0

Variables

VariableTypeDefaultDescription
appNamestringMyAppThe name of your application
isForMonorepobooleantrueWhether this is being generated as part of a monorepo

Usage

Interactive

bash
archipelago generate coverage_manager

Non-interactive (CI)

bash
archipelago generate coverage_manager --config my_config.json

Config Template

json
{
  "@appName": "The name of your application",
  "appName": "MyApp",
  "@isForMonorepo": "Whether this is being generated as part of a monorepo",
  "isForMonorepo": true
}

Generated Structure

devtools/
└── scripts/
    └── coverage_manager/
        ├── lib/
        │   ├── coverage_manager.dart
        │   └── src/
        │       ├── commands/
        │       │   ├── check_command.dart
        │       │   ├── combine_command.dart
        │       │   ├── coverage_command.dart
        │       │   ├── full_command.dart
        │       │   ├── init_command.dart
        │       │   └── run_command.dart
        │       ├── coverage_command.dart    # Top-level command
        │       ├── models/
        │       │   └── coverage_config.dart
        │       └── services/
        │           └── coverage_service.dart
        └── pubspec.yaml

Built by Banua Coder