샘플
Resolve command and group names when decorated functions use _cmd, _command, _grp, or _group suffixes
sha256:ce67c41c1a1d7149b9efd29b07fd79dcf68c783f67ff3ca56383389982289602
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Resolve command and group names when decorated functions use _cmd, _command, _grp, or _group suffixes HOW
- 패키지
- click 8.4.2
- 환경
- python
- 생성일
- 2026-08-16T07:54:31Z
컨트랙트
- define click groups and commands using _grp, _group, _cmd, and _command function suffix conventions
- assert click >= 8.2 automatically strips _cmd, _command, _grp, and _group suffixes from derived command names
- assert invoking stripped command and nested group paths succeeds with exit code 0
- assert invoking pre-8.2 unstripped command names fails with exit code 2 and NoSuchCommand error
- assert explicit name parameter overrides suffix stripping and preserves exact requested command name
파일
- NOTES.md
- csx.json
- requirements.txt
- src/__init__.py
- src/cli.py
- test/contract.py
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- python 3.12 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-16 · ed25519:d91480838ac982c9