CodeSampleX

Exemplo

Verify how missing mandatory options behave differently depending on whether they have a registered callback.

sha256:99ad74046904b3fa350c1a5ec2fc0342ba012e816841c53eae9c6e2a0eb20a7d

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Verify how missing mandatory options behave differently depending on whether they have a registered callback. HOW
Pacotes
args 2.7.0
Ambiente
dart
Criado
2026-08-17T02:02:59Z

O que costuma-se supor

ArgParser.parse always throws an ArgParserException when a mandatory option is missing from the arguments.

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