wx 0.0.2

A CLI tool for managing Git worktrees and VSCode workspaces
wx-0.0.2 is not a library.

wx

A CLI tool for managing Git worktrees and VSCode/Kiro workspaces.

日本語

Features

  • Centralized management of multiple repositories via bare clone
  • Automatic generation of worktrees and workspace files
  • Accelerate parallel development setup

wx screenshot

Installation

From crates.io

cargo install wx

From source

git clone https://github.com/mzkmnk/wx.git
cd wx
cargo install --path .

Usage

Register repositories

wx register git@github.com:org/frontend.git
wx register git@github.com:org/backend.git

Registered repositories are bare cloned to ~/.wx/.

List registered repositories

wx list

Create a workspace

cd ~/work
wx new feature-auth

Select repositories and branches interactively, then a feature-auth/ directory will be created containing worktrees and a .code-workspace file.

Data Location

~/.wx/
├── config.json        # Registered repositories
├── frontend.git/      # Bare repository
└── backend.git/       # Bare repository

Development

# Build
cargo build

# Test
cargo test

# Release build
cargo build --release

License

MIT License - Copyright (c) mzkmnk mzk.mnk.dev@gmail.com