package cobrautl
import "go.etcd.io/etcd/pkg/v3/cobrautl"
Index ¶
- Constants
- func ExitWithError(code int, err error)
- func UsageFunc(cmd *cobra.Command, version, APIVersion string) error
Constants ¶
const ( // http://tldp.org/LDP/abs/html/exitcodes.html ExitSuccess = iota ExitError ExitBadConnection ExitInvalidInput // for txn, watch command ExitBadFeature // provided a valid flag with an unsupported value ExitInterrupted ExitIO ExitBadArgs = 128 ExitServerError = 4 ExitClusterNotHealthy = 5 )
Functions ¶
func ExitWithError ¶
func UsageFunc ¶
Source Files ¶
error.go help.go
- Version
- v3.5.18 (latest)
- Published
- Jan 24, 2025
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 5 days ago –
Tools for package owners.