feat: Add --version / -v flag to taintline CLI (#13) - #14
Conversation
|
Merged! 🎉 Landed on Thank you so much — and a special welcome, since this is your first contribution here. This was a genuinely clean PR: you wired This closes #13. Hope to see more from you — there are a few good-first-issues open if you're looking for the next one, and I'm happy to help you get started on any of them. Thanks again for making taintline a little better. 🙏 |
|
Thank you so much for the warm welcome and thoughtful feedback @bamdadd! I'm really glad the implementation and test coverage met the repository's standards. I look forward to contributing more to taintline and the rest of the ecosystem! |
Closes #13
Summary of Changes
-v/--versionflag totaintlineCLI insrc/taintline/cli.pyutilizingimportlib.metadata.version('taintline')with fallback totaintline.__version__.taintline check ...or future subcommands.tests/test_smoke.pyverifying exit code 0 and version string output for both--versionand-vflags.Verification
pytest: 47 passed in 1.14s.mypy src:Success: no issues found in 8 source files(strict mode).ruff check src tests:All checks passed!.