rft-cli 0.1.0

Zero-config Docker Compose isolation for git worktrees
rft-cli-0.1.0 is not a library.

rft

Zero-config Docker Compose isolation for git worktrees.

When you work on multiple branches simultaneously using git worktree, each worktree needs its own Docker Compose stack with unique ports. rft automates this — it detects your compose file, allocates non-conflicting ports, and manages the stacks.

Install

cargo install rft-cli

Usage

rft list       # show worktrees with allocated ports
rft start      # start all worktree stacks in parallel
rft stop       # stop all stacks
rft logs 1     # stream logs for worktree #1
rft promote 1  # copy changes from worktree #1 to current branch
rft clean      # stop everything, remove worktrees

Requirements

  • Git with worktree support
  • Docker with Compose v2 (docker compose)
  • Ports in compose file using ${VAR:-default} format

Documentation

Full docs: github.com/supostat/rft-cli

License

MIT