Help us shape the future of Go! Take the 2026 Go Developer Survey

rh

command module
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 28 Imported by: 0

README

rh

Small, stateless, config-free CLI for workspace chores. One static binary — templates are compiled in.

go install github.com/raveesh-me/rh@latest   # more options: INSTALL.md
Command What it does
rh init Creates or updates CLAUDE.md, AGENTS.md and the worktree Makefile to the templates built into this binary (templates/), plus workdir/. These files are owned by rh — hand edits are overwritten. Run rh update first to get the newest templates.
rh add <url> [url...] Clones every repo into the current folder in parallel. Repeated URLs are deduped; folders that already exist are skipped.
rh update Replaces the running rh binary with the latest GitHub release (checksum-verified, atomic swap). Use sudo rh update if it lives in a root-owned dir.
rh pull Runs make pull if the Makefile has that target. Otherwise: for the current repo, or every direct child repo, checks out the default branch (origin/HEAD, else main/master) and git pull --ff-only. Dirty repos and worktrees are skipped.
rh mon Live view of . and workdir/ (tasks, their repos, and each worktree's branch).
rh diff Watches text files below here (skips .git, node_modules, binaries, >1MB) and prints colored unified diffs as they change.
rh <anything> Not an rh command → make <anything>.
rh -m <target> Always make <target>, even if it shadows an rh command.
rh -c some words claude -p "some words".

Documentation

Overview

Command rh runs quick workspace chores and falls back to make for anything else.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL