Commit 89e33f1
refactor: reuse get_speckit_version() and assert -V in help test
Address Copilot review suggestions:
- Use get_speckit_version() instead of duplicating importlib.metadata
logic, which provides a better fallback via pyproject.toml for
source-based runs
- Assert both --version and -V appear in help output
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent f871e28 commit 89e33f1
2 files changed
+3
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
490 | 490 | | |
491 | 491 | | |
492 | 492 | | |
493 | | - | |
494 | | - | |
495 | | - | |
496 | | - | |
497 | | - | |
498 | | - | |
| 493 | + | |
499 | 494 | | |
500 | 495 | | |
501 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
664 | 664 | | |
665 | 665 | | |
666 | 666 | | |
667 | | - | |
| 667 | + | |
668 | 668 | | |
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | 673 | | |
674 | 674 | | |
| 675 | + | |
675 | 676 | | |
676 | 677 | | |
677 | 678 | | |
| |||
0 commit comments