Skip to content

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

Open
Shnekit wants to merge 2 commits intomainfrom
feat/version-command-and-pip-install-docs
Open

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

Conversation

@Shnekit
Copy link
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
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.

1 participant