Output and exit codes
Output channels
- success and informational messages go to
stdout - errors go to
stderr - help output is available through Picocli help commands
Exit codes
0success1runtime or validation failure2usage error
Startup checks
At startup, ocp:
- verifies required dependencies, currently
git - checks for a newer CLI release in both interactive and non-interactive flows
- reuses cached version metadata until at least 24 hours have passed since the previous check attempt
Update-check failures are non-fatal and should not block the main command flow.