Module: SimpleCovMcp::Constants

Defined in:
lib/simplecov_mcp/constants.rb

Overview

Shared constants used across multiple components to avoid duplication. This ensures consistency between CLI option parsing and mode detection.

Constant Summary collapse

OPTIONS_EXPECTING_ARGUMENT =

CLI options that expect an argument value following them. Used by both CoverageCLI and ModeDetector to correctly parse command-line arguments.

%w[
  -r --resultset
  -R --root
  -f --format
  -o --sort-order
  -s --source
  -c --context-lines
  -S --staleness
  -g --tracked-globs
  -l --log-file
  --error-mode
].freeze