get

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGetCmd

func NewGetCmd(f *cmdutil.Factory) *cobra.Command

Types

type GetOptions

type GetOptions struct {
	IO                  *iostreams.IOStreams
	LoadToken           func() *auth.StoredToken
	PrintFlags          *cmdutil.PrintFlags
	NewDashboardClient  func(clientID string) *dashboard.Client
	EnsureAuthenticated func(io *iostreams.IOStreams, client *dashboard.Client) (string, error)

	WithAccessToken bool
}

type Identity

type Identity struct {
	UserID string `json:"user_id,omitempty"`
	Email  string `json:"email,omitempty"`
	Name   string `json:"name,omitempty"`
	Token  string `json:"token,omitempty"`
}

Jump to

Keyboard shortcuts

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