Skip to content

feat: add version subcommand - #128

Open
zcrab-oai wants to merge 1 commit into
mainfrom
agent/add-version-subcommand-review-smoke-20260730
Open

feat: add version subcommand#128
zcrab-oai wants to merge 1 commit into
mainfrom
agent/add-version-subcommand-review-smoke-20260730

Conversation

@zcrab-oai

Copy link
Copy Markdown

Summary

  • add crab version as a readable alias for the existing version flags
  • include the command in CLI help and the README
  • open this PR as a small, ready-for-review smoke test of the automatic review flow

Validation

  • make test-unit — 39 tests passed
  • bash -n src/crabcode
  • ./src/crabcode version
  • ./src/crabcode --version
  • git diff --check
  • make lint — skipped because ShellCheck is not installed

Copilot AI review requested due to automatic review settings July 30, 2026 17:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds a crab version subcommand as a readable alias for the existing --version/-v flags, and documents it in help output and the README.

Changes:

  • Add version to the main command dispatcher alongside --version/-v.
  • Advertise version in --help output and the script’s command list header.
  • Document crab version usage in the README.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/crabcode Adds version as an alias for existing version flags and includes it in --help output.
README.md Documents crab version / crab --version usage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/crabcode
echo " ports Show port usage"
echo " shared Show shared volume info"
echo " cheat Show cheat sheet"
echo " version Show the installed crabcode version"
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