| summary | RepoBar CLI command reference. | |||
|---|---|---|---|---|
| read_when |
|
Binary name: repobar
The CLI covers the data surfaces shown in the menubar and repo submenus, plus the local actions and settings that can be scripted.
By default, release CLI/app auth uses the macOS Keychain. SwiftPM debug CLI builds use the same file-backed debug store as the debug app, so local .build/debug/repobarcli commands and tests do not prompt for Keychain access. For installed release builds, set REPOBAR_TOKEN_STORE=file when you explicitly want the file-backed debug store:
REPOBAR_TOKEN_STORE=file repobar statusThe file store lives under ~/Library/Application Support/RepoBar/DebugAuth. See docs/auth-storage.md for the exact precedence and release rules.
repobar helprepobar <command> --help
--json/--json-output/-j: JSON output.--plain: plain table (no links, no colors, no URLs).--no-color: disable color output.
repos(default): list repositories by activity/PRs/issues/stars.- Flags:
--limit,--age,--release,--event,--forks,--archived,--scope(all|pinned|hidden),--filter(all|work|issues|prs),--owner,--mine,--pinned-only,--only-with(work|issues|prs),--sort(activity|issues|prs|stars|repo|event).
- Flags:
repo <owner/name>: repository summary.- Flags:
--traffic,--heatmap,--release.
- Flags:
issues <owner/name>: list open issues (recently updated).- Flags:
--limit.
- Flags:
pulls <owner/name>: list open pull requests (recently updated).- Flags:
--limit.
- Flags:
releases <owner/name>: recent releases.- Flags:
--limit.
- Flags:
ci <owner/name>: workflow runs / CI runs.- Flags:
--limit.
- Flags:
discussions <owner/name>: recent discussions.- Flags:
--limit.
- Flags:
tags <owner/name>: recent tags.- Flags:
--limit.
- Flags:
branches <owner/name>: recent branches.- Flags:
--limit.
- Flags:
contributors <owner/name>: top contributors.- Flags:
--limit.
- Flags:
commits [<owner/name>|<login>]: recent commits (repo or global).- Flags:
--limit,--scope(all|my),--login.
- Flags:
activity [<owner/name>|<login>]: recent activity (repo or global).- Flags:
--limit,--scope(all|my),--login,--include-repos. --include-reposmerges cached repository activity, matching the profile submenu.
- Flags:
local: scan local project folder for git repos.- Flags:
--root,--depth,--sync,--limit.
- Flags:
local sync <path|owner/name>: fast-forward local repo (fetch/rebase/push).local rebase <path|owner/name>: rebase local repo.local reset <path|owner/name>: hard reset local repo.- Flags:
--yes(skip confirmation).
- Flags:
local branches <path|owner/name>: list local branches.worktrees <path|owner/name>: list local worktrees.open finder <path|owner/name>: open in Finder.open terminal <path|owner/name>: open in Terminal (respects preferred terminal setting).checkout <owner/name>: clone repo into Local Projects root.- Flags:
--root,--destination,--open.
- Flags:
refresh: refresh pinned repositories using current settings.contributions: fetch contribution heatmap for a user.- Flags:
--login.
- Flags:
changelog [path]: parse a changelog and summarize entries.- Defaults to
CHANGELOG.md, thenCHANGELOGin the git root or current directory. - Flags:
--release,--json,--plain,--no-color.
- Defaults to
markdown <path>: render markdown to ANSI text.- Flags:
--width,--no-wrap,--plain,--no-color.
- Flags:
pin <owner/name>/unpin <owner/name>: manage pinned repos.hide <owner/name>/show <owner/name>: manage hidden repos.archives list: list configured GitHub backup archive sources.archives status [name]: show path/readiness diagnostics, import metadata, and row counts for all archive sources or one source.archives validate [name]: fail if archive source configuration is invalid.archives update <name>: pull the configured Git snapshot when a remote is set and import the Discrawl-stylemanifest.json/JSONL tables into the configured SQLite database.archives add <name>: add a RepoBar-owned GitHub backup archive source.- Flags:
--repo(local Git snapshot path),--remote(Git remote URL),--branch(defaultmain),--db(imported SQLite path).
- Flags:
archives remove <name>: remove an archive source from RepoBar settings.archives enable <name>/archives disable <name>: toggle an archive source.cache status: show persistent REST and GraphQL cache diagnostics.- Flags:
--limit(recent response rows to include).
- Flags:
rate-limits/cache rate-limits: show observed and active GitHub rate-limit state from the persistent cache.- Flags:
--limit(recent response rows to inspect).
- Flags:
cache clear: clear persistent REST responses, GraphQL responses, and rate-limit rows.settings show: print current settings.settings set <key> <value>: update settings (refresh interval, display limit, heatmap, local settings).login: browser OAuth login.- Flags:
--host,--client-id,--client-secret,--loopback-port.
- Flags:
logout: clear stored credentials.status: show login state.
- All list commands support:
--limit,--json,--plain,--no-color. - List items include URLs when
--plainis not set (link-enabled terminals).
settings set accepts these keys:
refresh-interval(1m|2m|5m|15m)repo-limit(integer)show-forks(true|false)show-archived(true|false)menu-sort(activity|issues|prs|stars|repo|event)show-contribution-header(true|false)show-rate-limit-meter(true|false)card-density(comfortable|compact)accent-tone(system|github-green)activity-scope(all|my)heatmap-display(inline|submenu)heatmap-span(1m|3m|6m|12m)local-root(path)local-auto-sync(true|false)local-fetch-interval(1m|2m|5m|15m)local-worktree-folder(string)local-preferred-terminal(string)local-ghostty-mode(tab|new-window)local-show-dirty-files(true|false)launch-at-login(true|false)