open

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpenCmd

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

Types

type OpenOptions

type OpenOptions struct {
	IO *iostreams.IOStreams

	List     bool
	Shortcut string

	PrintFlags *cmdutil.PrintFlags

	Authenticate       func(*iostreams.IOStreams, *dashboard.Client) (string, error)
	SelectApplication  func() (*dashboard.Application, error)
	ListApplications   func(*dashboard.Client, string) ([]dashboard.Application, error)
	NewDashboardClient func(clientID string) *dashboard.Client
	Browser            func(string) error
	// contains filtered or unexported fields
}

OpenOptions represents the options for the open command. The function fields are injected so the flow can be exercised without a real OAuth session or browser.

Jump to

Keyboard shortcuts

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