CodeSampleX

サンプル

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

sha256:1966c97c2d75ab9245ada1be26ad968056fdaaad28f126163a7f3bf75d7ed626

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Retrieve parsed options and flags via their canonical names from ArgResults when using aliases HOW
パッケージ
args 2.7.0
環境
dart
作成日
2026-08-17T02:03:07Z

よくある思い込み

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

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート