codesamplex

サンプル

Option.implies() in Commander 10.0.1 accepts a string option name to set boolean flags without decomposing the string into numeric indices as in Commander 10.0.0

sha256:997e08319af13c6ed363d7ec20d7adfe1887d84969fab414a089a8f815cf9f19

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Option.implies() in Commander 10.0.1 accepts a string option name to set boolean flags without decomposing the string into numeric indices as in Commander 10.0.0 HOW
パッケージ
commander 10.0.1
環境
node
作成日
2026-08-16T17:52:05Z

よくある思い込み

Passing a string option name to Option.implies() sets that option to true when the triggering option is parsed.

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

コントラクト

ファイル

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

オリジンシーダー

csx-seed

検証レシート