Skip to content

feat: add version command, --version flag, and pip install docs#98

Merged
Shnekit merged 2 commits intomainfrom
feat/version-command-and-pip-install-docs
Mar 23, 2026
Merged

feat: add version command, --version flag, and pip install docs#98
Shnekit merged 2 commits intomainfrom
feat/version-command-and-pip-install-docs

Conversation

@Shnekit
Copy link
Copy Markdown
Contributor

@Shnekit Shnekit commented Mar 20, 2026

Summary

  • Adds aws-smus-cicd-cli version subcommand
  • Adds --version and -v flags to the CLI
  • Uses importlib.metadata as single source of truth for version (reads from pyproject.toml at install time)
  • Removes duplicate version from setup.py and setup.cfg
  • Updates README.md and docs to use pip install aws-smus-cicd-cli instead of git clone
  • Keeps git clone in quickstart only where examples are referenced
  • Syncs lang docs (fr, he, it, ja, pt, zh) with main README changes

Testing

aws-smus-cicd-cli --version  # aws-smus-cicd-cli 1.0.0
aws-smus-cicd-cli -v         # aws-smus-cicd-cli 1.0.0
aws-smus-cicd-cli version    # aws-smus-cicd-cli 1.0.0

All linting passes (flake8, black, isort).

Shnekit added 2 commits March 20, 2026 12:40
- Add 'aws-smus-cicd-cli version' subcommand
- Add --version/-v flags via app.callback()
- Use importlib.metadata as single source of truth for version
- Remove hardcoded version from setup.py and setup.cfg
- pyproject.toml remains sole version source (patched by publish-pypi.yml on release)
- Update README and docs to use 'pip install aws-smus-cicd-cli' instead of git clone
- Keep git clone in quickstart.md only where examples are needed
- Sync lang docs (fr, he, it, ja, pt, zh) with main README changes
@Shnekit Shnekit requested a review from vasu2856 March 20, 2026 19:45
@Shnekit Shnekit self-assigned this Mar 20, 2026
Copy link
Copy Markdown
Contributor

@vasu2856 vasu2856 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Shnekit Shnekit merged commit 8010dc5 into main Mar 23, 2026
6 checks passed
@Shnekit Shnekit deleted the feat/version-command-and-pip-install-docs branch April 21, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants