report and other commands
Every command takes the options for every command.
report
benchbar report [--print | --json]Writes a redacted diagnostics zip, ~/Desktop/benchbar-report-<stamp>.zip,
for a bug report. It holds doctor and status as JSON, the versions of
everything involved, the launchd agent, Procfile.lean, state.json and
the last 200 lines of bench.log and worker.error.log.
Site config files are never copied, only their key names. Any value
whose key looks like a password, secret, token, key, API or auth
credential is replaced by ***. Your home folder, user name and every
name of the Mac are replaced by placeholders. REDACTIONS.txt inside the
zip lists what was replaced.
| Flag | What it does |
|---|---|
--print | Print the same contents to the terminal instead |
--json | Write the zip and print {"zip": path, "redactions": n}, the report schema the app reads |
Exit codes: 0; 1 when the zip could not be written.
benchbar report --printAttach the zip to an issue at https://github.com/askysh/benchbar/issues.
docs
benchbar docs [TOPIC] [--print]Opens this documentation in your browser, or the page of one topic:
install, quick-start, app, sites, apps, doctor, teams,
agents, mcp, cli, config, json, runners, troubleshooting,
decisions, roadmap or contributing. benchbar docs --help lists
every topic with its aliases.
| Flag | What it does |
|---|---|
--print | Print the URL instead of opening it |
Exit codes: 0; 1 for an unknown topic.
benchbar docs doctor—version
benchbar --versionThe first line is always benchbar <version>, which the app and scripts
read. When BenchBar.app is installed in ~/Applications or
/Applications, a second line gives the app’s version.
list
benchbar list [--json]Every bench benchbar knows about: path, default site, sites, ports, and
whether its service is installed. With --json, the
list schema.
Exit codes: 0.
benchbar list --jsonautostart
benchbar autostart on|offWhether the bench may come back after login, when it was running before. Without an argument it says which it is.
Exit codes: 0; 1 for another argument, or when the agent could not be written.
benchbar autostart offmariadb-password
benchbar mariadb-password [--yes]Prints the MariaDB root password kept in the Keychain (item
benchbar-mariadb), after asking. --yes skips the question.
Exit codes: 0 printed; 1 declined, or no password in the Keychain.
benchbar mariadb-passworduninstall-service
benchbar uninstall-service [--bench-dir DIR] [--dry-run]Removes the launchd agent, the runner, Procfile.lean and the shell
helper block of one bench, after asking. The bench, its sites, apps and
databases are not touched; the plist is moved to
~/Library/LaunchAgents-disabled/ and the other files are backed up
first.
Exit codes: 0; 1 declined.
benchbar uninstall-service --bench-dir ~/dev/v16-benchTo remove BenchBar itself, see Uninstall.
help and version
benchbar --helpbenchbar --version--help (or -h, or benchbar help) prints every command and option.
--version prints benchbar and the version.