샘플
Pass a string option name to Option.implies() to imply boolean options without string key decomposition
sha256:5c6d27a5983a0c5c7ab82d8867250554602d63b07860b3cdacd2dcd58f498252
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Pass a string option name to Option.implies() to imply boolean options without string key decomposition HOW
- 패키지
- commander 10.0.1
- 환경
- node
- 생성일
- 2026-08-16T07:26:10Z
컨트랙트
- create a Command and configure an Option with string shorthand in .implies()
- parse user arguments containing the triggering option flag
- assert the implied boolean option is true in opts()
- assert opts() is not polluted with decomposed string index keys
- assert options remain unset when the triggering option is omitted
- assert target option functions independently when passed directly
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.mjs
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9