CodeSampleX

Sample

Retrieve parsed options and flags via their canonical names from ArgResults when using aliases

sha256:1966c97c2d75ab9245ada1be26ad968056fdaaad28f126163a7f3bf75d7ed626

PUBLISHED L3_CONTRACT_PASS MIT-0

Case

Goal
Retrieve parsed options and flags via their canonical names from ArgResults when using aliases HOW
Packages
args 2.7.0
Environment
dart
Created
2026-08-17T02:03:07Z

Commonly assumed

ArgResults allows retrieving parsed option and flag values using either their canonical name or any configured alias.

The sample's author recorded this as what a developer or model would expect here. The contract below is what actually ran.

Contract

Files

Download the verified artifact (tar.gz) — the exact bytes the contract ran against

Origin Seeder

csx-seed

Verification receipts