CodeSampleX

Exemplo

Prove that Commander treats a paired positive and negated boolean flag set as undefined by default.

sha256:3bef18b842431df9919c86abb33218034f4e0dea936f193ccde41217b9a8b7d3

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Prove that Commander treats a paired positive and negated boolean flag set as undefined by default. HOW
Pacotes
commander 15.0.0
Ambiente
node
Criado
2026-08-17T03:16:04Z

O que costuma-se supor

When both `--cache` and `--no-cache` are defined, omitting both options should leave `cache` as `true` because the negated form implies a true default.

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