conformance

command
v1.64.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Command conformance is the registry-conformance binary entry-point.

The binary builds the root *cli.Command from internal/cli (wiring the `run` and `list` subcommands), runs it, and sets the process exit code from internal/cli's (Report, error) → exit-code mapping (cli.ExitCode).

A subcommand is required (S04 §Subcommand structure). urfave/cli v3 does not, on its own, reject a command-only root invoked without a subcommand: with no root Action it prints help and exits 0. The root Action below supplies the spec-required behavior — exit 2 with a single-line stderr message — for the missing-subcommand path (S04 AC #10).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL