CodeSampleX

Exemplo

Prove that Commander 10 does not normalize leading whitespace in `.arguments()` signatures, which changes required positional argument behavior.

sha256:f5f99fd68dd8d58f64b485d0f9975aae0947b6d0dce1125646115bb8c16ba5a0

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Prove that Commander 10 does not normalize leading whitespace in `.arguments()` signatures, which changes required positional argument behavior. HOW
Pacotes
commander 10.0.0
Ambiente
node
Criado
2026-08-17T03:16:09Z

O que costuma-se supor

A leading space before a positional signature is ignored by Commander, so `program.arguments(' <name>')` is equivalent to `program.arguments('<name>')`.

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