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

orgs

package
v0.4.120 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() *cobra.Command

TODO: deprecate & remove

func OrgFromEnvVarOrFirstArgOrSelect added in v0.1.85

func OrgFromEnvVarOrFirstArgOrSelect(ctx context.Context, filters ...Filter) (*uiex.Organization, error)

func OrgFromFlagOrSelect added in v0.1.33

func OrgFromFlagOrSelect(ctx context.Context, filters ...Filter) (*uiex.Organization, error)

func OrgFromSlug added in v0.0.359

func OrgFromSlug(ctx context.Context, slug string) (*uiex.Organization, error)

Types

type Filter added in v0.4.101

type Filter int

Filter narrows the organizations offered when prompting for one.

const (
	// AdminOnly limits the choice to organizations the user administers.
	AdminOnly Filter = iota
)

Jump to

Keyboard shortcuts

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