midcobra

package
v0.0.0-...-0d3f7f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DebugMiddleware

type DebugMiddleware struct {
	// contains filtered or unexported fields
}

func (*DebugMiddleware) AttachToFlag

func (d *DebugMiddleware) AttachToFlag(flags *pflag.FlagSet, flagName string)

type Executable

type Executable interface {
	AddMiddleware(mids ...Middleware)
	Execute(ctx context.Context, args []string) int
}

func New

func New(cmd *cobra.Command) Executable

type Middleware

type Middleware interface {
	// contains filtered or unexported methods
}

func Telemetry

func Telemetry() Middleware

We collect some light telemetry to be able to improve devbox over time. We're aware how important privacy is and value it ourselves, so we have the following rules: 1. We only collect anonymized data – nothing that is personally identifiable 2. Data is only stored in SOC 2 compliant systems, and we are SOC 2 compliant ourselves. 3. Users should always have the ability to opt-out.

type TraceMiddleware

type TraceMiddleware struct {
	// contains filtered or unexported fields
}

func (*TraceMiddleware) AttachToFlag

func (t *TraceMiddleware) AttachToFlag(flags *pflag.FlagSet, flagName string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL