doctor
Usage: deepline doctor [options]
Verify CLI, skills, auth, workspace, and API connectivity.
Options:
--scope <scope> Expected setup scope: global or local (default: "global")
--json Emit one JSON result envelope
-h, --help display help for command
Explanation:
Purpose:
Read-only diagnosis of the local install: CLI version, skills, auth,
workspace, and API connectivity, with suggested repairs.
When:
When something local is wrong (skills missing, auth file odd). Doctor is
stricter and exits 7
when any check fails, which is common in sandboxes with no skills on disk.
Input:
--scope global|local. --json.
Output (JSON):
Check results with status and repair hints. Exit 7 means at least one
check failed; the JSON says which.
Cost:
Free.