repo:doctor
Report local status (including last_backup), object availability disagreements and interrupted push, pull or purge operations. Confirmed availability repair changes records only and refuses pending work.
Reference for flywheel repo:doctor.
Report local object availability disagreements and interrupted push, pull or purge operations. This is read-only by default; a confirmed availability repair changes records only, requires --fix-availability --confirm, and is refused while staged work or a rebase is pending. It works on the local repository and publishes nothing.
Command Group
Local Repository
Summary
Report local status (including last_backup), object availability disagreements and interrupted push, pull or purge operations. Confirmed availability repair changes records only and refuses pending work.
Usage
flywheel repo:doctor [FLAGS]Required flags
None.
Optional flags
| Flag | Value | Default | Choices | Description |
|---|---|---|---|---|
--repo | string | Local repository filesystem path. | ||
--personal | Use the configured personal repository. | |||
--fix-availability | Repair availability records after verifying local content; requires --confirm. | |||
--confirm | Confirm availability repair; requires --fix-availability. Never discards staged work or ends a rebase. | |||
--format | FORMAT | json, tsv, csv, table | Output format for command results. | |
--env | PROFILE | Use a configured CLI profile for this invocation. | ||
--out | PATH | Write output to a file path, or use - for stdout. | ||
--open | Open browser-bound URLs when supported. | |||
--no-retry | Disable transient-error retries. | |||
--retry-max | N | Maximum transient-error retry attempts. | ||
--wait | Block on async operations until a terminal state is reached. | |||
--wait-timeout | SECONDS | 600 | Seconds to wait for --wait before timing out. Defaults to 600. | |
--allow-self | Allow mutating the currently active credential. | |||
--timeout | SECONDS | Set the per-request timeout budget in seconds. | ||
--idempotency-key | KEY | Reuse an Idempotency-Key so ambiguous write failures can be retried with the same key. | ||
--force | Force safety-gated operations where supported. | |||
--yes | Skip confirmation prompts for destructive operations. | |||
--debug | Print structured request debugging with secrets masked. | |||
--verbose | Print verbose progress for long-running operations. | |||
-h, --help | Show this help. |
Examples
Report local status (including last_backup), object availability disagreements and interrupted push, pull or purge operations. Confirmed availability repair changes records only and refuses pending work.
flywheel repo:doctor --format=json