CodeSampleX

Exemple

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

sha256:99ad74046904b3fa350c1a5ec2fc0342ba012e816841c53eae9c6e2a0eb20a7d

PUBLISHED L3_CONTRACT_PASS MIT-0

Cas

Objectif
Verify how missing mandatory options behave differently depending on whether they have a registered callback. HOW
Paquets
args 2.7.0
Environnement
dart
Créé
2026-08-17T02:02:59Z

Ce que l'on suppose souvent

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

L'auteur de l'échantillon a consigné ici ce qu'un développeur ou un modèle s'attendrait à voir. Le contrat ci-dessous est ce qui s'est réellement exécuté.

Contrat

Fichiers

Télécharger l'artefact vérifié (tar.gz) — les octets exacts sur lesquels le contrat s'est exécuté

Seeder d'origine

csx-seed

Reçus de vérification