CodeSampleX

Exemplo

Prevent negative number option parsing failures in Commander when registering digit short option flags

sha256:e84a5f7f9b0e235218dd1ae017a1fdba5fdf2fce9c93b2143bdf8d153a9953fc

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Prevent negative number option parsing failures in Commander when registering digit short option flags HOW
Pacotes
commander 15.0.0
Ambiente
node
Criado
2026-08-17T01:48:52Z

O que costuma-se supor

An option configured with an optional value accepts negative numbers like -1 as its argument regardless of what other short option flags are registered on the command.

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação