rft
Commands

Commands

Overview of all rft commands

Command Reference

CommandDescription
rft initAnalyze compose file, suggest port fixes, generate config
rft listShow all worktrees with ports and container status
rft startStart Docker Compose stacks in parallel. --dry-run to preview
rft stopStop running stacks
rft restartRestart stacks (stop + start)
rft watchStart stacks and auto-restart on file changes
rft logsStream container logs. --no-follow for snapshot
rft promoteTransfer changes to current branch. --dry-run to preview
rft cleanFull cleanup: stop, remove worktrees, prune Docker
rft statusOne-line status for shell prompt integration
rft completionsGenerate shell completions (bash/zsh/fish)
rft mcpStart MCP server for AI agent integration

Index-Based Selection

Most commands accept optional worktree indices. Indices are shown in the rft list output.

# Operate on all worktrees
rft start

# Operate on specific worktrees
rft start 1 3

# Single worktree
rft logs 1

When no indices are provided, the command operates on all worktrees.

On this page