cadrumo.core.cli_metadata module

Pure recognition of CLI metadata invocations.

Help and version surfaces must remain available even when operator state cannot be opened. This import-light predicate is shared by CLI startup, output, and logging so each boundary agrees on exactly which invocation tokens have that metadata-only posture.

is_metadata_invocation(arguments)[source]

Return whether arguments request help or version metadata.

Return type:

bool

Parameters:

arguments (Sequence[str])