Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExitError ¶
type ExitError struct {
Err error
// 2 for a usage error (bad arg count, unknown flag, unknown subcommand, invalid argument or flag
// value) and 3 for a precondition failure like red CI or uncommitted changes.
Code int
}
ExitError carries a non-default exit code, distinct from the general-error code cobra otherwise produces for a RunE error.
Source Files
¶
- ack.go
- adopt.go
- build_info.go
- config.go
- coreexec.go
- deliver.go
- doctor.go
- doctor_compat_prod.go
- evidence.go
- fields.go
- fleet.go
- git.go
- herdr.go
- hold.go
- init.go
- integration.go
- merge.go
- nextaction.go
- notify.go
- orient.go
- pr.go
- prdetect.go
- precondition.go
- project.go
- project_source.go
- promote.go
- reconcile.go
- reopen.go
- root.go
- runtime.go
- search.go
- send.go
- session.go
- spawn.go
- status.go
- statusview.go
- supervision.go
- teardown.go
- tier.go
- update.go
- watch.go
- watch_context.go
Click to show internal directories.
Click to hide internal directories.