CLI Doctor
Run diagnostic checks to troubleshoot issues.
doctor command
pinner doctorExample Output
Version: 0.1.0
OS: linux/amd64
Config: /home/user/.config/pinner/config.json
Config Status: Found
Endpoint: https://api.pinner.xyz
Memory limit: 100 MB
Max retries: 3
Authentication: Authenticated
Shell completion: Enabled (bash, zsh)JSON Output
pinner doctor --jsonReturns structured JSON with all diagnostic information.
What Gets Checked
| Check | Description |
|---|---|
| Version | CLI version and build info |
| OS | Operating system and architecture |
| Config | Configuration file location and status |
| Endpoint | API endpoint configuration |
| Memory limit | CAR generation memory limit |
| Max retries | Maximum retry attempts |
| Authentication | Whether a token is configured |
| Shell completion | Which shells have completion enabled |
Use Cases
Use pinner doctor when:
- Reporting bugs or issues
- Troubleshooting connection problems
- Verifying your configuration
- Checking authentication status
- Ensuring CLI is properly installed