pub fn resolve_operation_id(cli: &Cli) -> Result<Option<OperationId>>Expand description
Canonical helper used by every state-changing dispatch arm in
main.rs. Validates the --op-id format eagerly so a malformed
value fails before the verb starts work.
The op_id_coverage build-time test grep-asserts a call to this
function in every state-changing arm — keep the name stable.