Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ crab projects # list all registered projects

Use `crab` (or `crabcode`) for all commands.

Run `crab version` (or `crab --version`) to check the installed version.

### Workspace Commands (`crab ws`)

```bash
Expand Down
4 changes: 3 additions & 1 deletion src/crabcode
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
# config scan Auto-detect .env files and ports
# doctor Diagnose common issues
# cheat Show cheat sheet / help
# version Show the installed crabcode version
# ports Show port usage across workspaces
# wip save Save work in progress
# wip ls List saved WIP states
Expand Down Expand Up @@ -8261,6 +8262,7 @@ show_help() {
echo " ports Show port usage"
echo " shared Show shared volume info"
echo " cheat Show cheat sheet"
echo " version Show the installed crabcode version"
echo ""
echo "Config: $CONFIG_FILE"
}
Expand Down Expand Up @@ -12090,7 +12092,7 @@ main() {
fi
rm -f "$tmp_file"
;;
"--version"|"-v")
"version"|"--version"|"-v")
echo ' /)🦀(\'
echo "crabcode v$VERSION"
;;
Expand Down