Help us shape the future of Go! Take the 2026 Go Developer Survey

whoami

package
v1.39.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(runtimeCtx *runtime.Context) *cobra.Command

Types

type Handler

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

func NewHandler

func NewHandler(ctx *runtime.Context) *Handler

func (*Handler) Execute

func (h *Handler) Execute(ctx context.Context, inputs Inputs) error

type Inputs

type Inputs struct {
	OutputFormat string
}

Inputs holds resolved and validated flag values for whoami.

Jump to

Keyboard shortcuts

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