wa CLI 2.0: Worktree Management in the Monorepo

We just shipped wa 2.0 — our CLI tool for managing Git worktrees, VS Code workspaces, and CaseMgr cases from the command line. Here’s what changed and why.

What is wa?

If you juggle multiple Git branches, git worktree is powerful but hard to remember. wa wraps it into simple commands and ties worktrees to VS Code workspaces and aliases for instant navigation.

wa add --bn=feature-x --alias=fx    # Create worktree + branch + alias
cdwa fx                              # Navigate by alias
wa code                              # Open VS Code with saved state
wa upload report.pdf                 # Upload file to linked case
wa mcp cases-list status=active      # Call any MCP tool directly

What’s New in v2.0

  • Monorepo migration — wa now lives inside casemgr_umbrella/wa/ alongside the Phoenix app. One repo, one deploy.
  • Hyphenated tool namescases-list instead of cases.list. Breaking change, but required for Claude.ai compatibility.
  • Smaller binary — Removed unused dependencies (xlsxir, csv). Down from 2.17MB to 1.95MB.
  • Shell functions split — Core functions (cdwa, home, aliases) ship separately from example project functions.

Install

curl -fsSL https://casemgr.systems/cli/install.sh | bash

Requires Erlang/OTP. Works on Linux and macOS. The installer sets up shell functions and offers to add them to your profile automatically.

Full documentation: casemgr.systems/cli

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *