• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

peczenyj / GDPR-IAB-TCFv2
96%
main: 96%

Build:
Build:
LAST BUILD BRANCH: devel
DEFAULT BRANCH: main
Repo Added 06 Dec 2023 12:24PM UTC
Files 18
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH refactor/cmp-validator-rename
branch: refactor/cmp-validator-rename
CHANGE BRANCH
x
Reset
  • refactor/cmp-validator-rename
  • add-range-section-cache
  • add-support-to-publisher-tc
  • chore/adopt-mojolicious-perltidyrc
  • chore/cmp-validator-version-coherence
  • chore/compress-test-corpus
  • chore/contributor-quality-of-life
  • chore/declare-min-perl-5.8.9
  • chore/dockerfile-perl-5.42-recommends
  • chore/maintenance-mode-handover
  • chore/normalize-pod-abstracts
  • chore/pod-and-message-cleanup
  • chore/remove-json-array-flag
  • chore/structural-json-asserts
  • devel
  • docs/registry-freshness-roadmap
  • docs/slsa-level-2
  • docs/track-phase-5-cmp-validator
  • feat/cli-bundling
  • feat/cli-cmp-validator-integration
  • feat/cli-color-support
  • feat/cli-dump
  • feat/cli-short-help-and-unknown-subcommand
  • feat/cli-version
  • feat/cmp-validator-http-options
  • feat/docker-distribution
  • feat/docker-latest-tag
  • feat/golden-corpus-validator-scenarios
  • feat/is-v23-deadline-investigation
  • feat/parser-split-and-shortcut
  • feat/perf-optimizations
  • feat/perl-5.10
  • feat/perl-5.12
  • feat/phase-0-core-logic
  • feat/phase-1-tcf-v23-segments
  • feat/phase-1-v23-logic
  • feat/phase-2-validator
  • feat/phase-2-validator-v2
  • feat/phase-3-alignment
  • feat/phase-3-constants-v23-aliases
  • feat/phase-4-bench-and-perf
  • feat/phase-4-performance
  • feat/phase-5-cmp-validator
  • feat/phase-5-cmp-validator-redux
  • feat/phase-6.1-validator-reason
  • feat/phase-6.2-validator-failure
  • feat/phase-6.3-tcf-carve-out
  • feat/phase-6.4-publisher-restriction-reasons
  • feat/phase-6.5-per-call-overrides
  • feat/quality-refinement
  • feat/roadmap-modernization
  • feat/slsa-level-1
  • feat/test-synopsis
  • feat/todo-validator-strict-legal-basis-coupling
  • feat/todo-validator-strict-legal-basis-scope
  • feat/validator-go-alignment
  • fix-but-index-out-of-bonds-while-parsing-range-based-consent-strings
  • fix/bigint-fallback-json-serialization
  • fix/cli-concise-errors
  • fix/cli-error-formatting
  • fix/cli-vendor-id-shadowed-by-version
  • fix/final-review-refinements
  • fix/golden-mem
  • fix/json-regex-key-order-tests
  • fix/optional-cmp-deps
  • fix/perl-5.8-defined-or-syntax
  • fix/pod-files-installed-as-modules
  • fix/post-release-audit
  • fix/publisher-restrictions-boundary-check
  • fix/release-workflow
  • fix/restore-cli-version-option
  • fix/restore-pause-indexation-v0.401
  • fix/uint36-timestamp-32bit-perl
  • fix/use-test-warn
  • fix/vendor-segment-parser-cleanup
  • main
  • refactor-publisher-restrictions
  • refactor-range-section
  • refactor_bitfield
  • release/0.100
  • release/0.200
  • release/0.350
  • release/0.380
  • release/0.400
  • release/0.401
  • release/0.510
  • release/0.511
  • release/0.512
  • release/0.520
  • release/v0.083
  • release/v0.400
  • v0.06
  • v0.07
  • v0.08
  • v0.081
  • v0.082
  • v0.083
  • v0.084
  • v0.100
  • v0.200
  • v0.201
  • v0.202
  • v0.203
  • v0.300
  • v0.320
  • v0.330
  • v0.340
  • v0.350
  • v0.351
  • v0.352
  • v0.360
  • v0.370
  • v0.380
  • v0.390
  • v0.391
  • v0.400
  • v0.401
  • v0.500
  • v0.510
  • v0.511
  • v0.512
  • v0.520
  • vv0.083

09 May 2026 06:04AM UTC coverage: 96.256% (+0.07%) from 96.187%
25593640304

push

github

web-flow
feat(cli): short-help via -h and informative unknown-subcommand error (#111)

Two CLI usability changes, ripgrep-style.

1. `-h` and `--help` are now distinct.

   * `-h` prints a brief summary: synopsis line, common options (with
     short alias, long name, value placeholder, one-line description),
     and a pointer to `--help`. Available at the top level and per
     subcommand:

         iabtcfv2 -h                  # subcommand list + pointers
         iabtcfv2 dump -h             # short summary for dump
         iabtcfv2 validate -h         # short summary for validate

   * `--help` (and `iabtcfv2 help [<sub>]`) keep showing the full POD
     they always did. No behavior change for `--help`.

   * A bare `iabtcfv2` (no args, no flags) now prints the same short
     overview as `iabtcfv2 -h` rather than the full POD.

2. Unknown subcommand prints an informative error and exits 2 with a
   subcommand list and a pointer to `-h` / `--help`:

       iabtcfv2: unknown subcommand 'frobnicate'

       Available subcommands:
           dump       Parse TC strings and emit JSON.
           validate   Validate TC strings against ...

       Run 'iabtcfv2 -h' for a short overview, or 'iabtcfv2 --help' ...

   Replaces the previous one-line "Unknown subcommand: frobnicate"
   pod2usage output.

Implementation: a top-level %SUBCOMMANDS registry drives dispatch, the
short-help summaries, and the unknown-subcommand error message. New
subcommands plug in there with no other code edits. Niche flags
(--cmp-validator-timeout, --cmp-validator-network-ok, etc.) are
intentionally omitted from the `common` rows and remain documented in
the full POD only.

POD updated to describe the -h / --help split. Added 18 tests in
t/10-cli-iabtcfv2.t covering top-level short help, bare invocation,
both subcommand short helps, and the unknown-subcommand error path.

Tests: 17,620 t/ + xt/ tests pass; perltidy/critic/synopsis clean.

55 of 57 new or added lines in 1 file covered. (96.49%)

1157 of 1202 relevant lines covered (96.26%)

8836.18 hits per line

Relevant lines Covered
Build:
Build:
1202 RELEVANT LINES 1157 COVERED LINES
8836.18 HITS PER LINE
Source Files on refactor/cmp-validator-rename
  • Tree
  • List 16
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25593640304 refactor/cmp-validator-rename feat(cli): short-help via -h and informative unknown-subcommand error (#111) Two CLI usability changes, ripgrep-style. 1. `-h` and `--help` are now distinct. * `-h` prints a brief summary: synopsis line, common options (with short alias... push 09 May 2026 06:12AM UTC web-flow github
96.26
25593024467 refactor/cmp-validator-rename refactor!: rename cmp_state_provider to cmp_validator The Validator constructor key, internal helpers, $cmp_v variable, four CLI flags, and all POD references for the CMP-validator integration are renamed from `cmp_state_provider` / `--cmp-state-... Pull #110 09 May 2026 05:44AM UTC peczenyj github
96.19
See All Builds (549)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc