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

rh

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: Apache-2.0 Imports: 26 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 CLAUDE.md, AGENTS.md (from templates/, embedded at build time) and workdir/. Never overwrites.
rh add <repo-url> [dir] git clone into the current folder.
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