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

auth

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

func NewLogin

func NewLogin() *cobra.Command

Types

type FlagWithPrompt

type FlagWithPrompt struct {
	internal.Flag[bool]
}

func (*FlagWithPrompt) AsSource

func (flag *FlagWithPrompt) AsSource(stdinFlag *internal.Flag[bool], prompt Prompt, what string) (source setting.FrontendSource)

type Prompt

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

func (Prompt) Next

func (p Prompt) Next(ctx context.Context, what string) (string, error)

func (Prompt) Printf

func (p Prompt) Printf(format string, args ...any) (err error)

Jump to

Keyboard shortcuts

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