Documentation ¶
Overview ¶
Package prompt implements input-related functionality.
Index ¶
- func Confirm(ctx context.Context, message string) (confirm bool, err error)
- func IsNonInteractive(err error) bool
- func Org(ctx context.Context, typ *api.OrganizationType) (*api.Organization, error)
- func Select(ctx context.Context, index *int, msg string, options ...string) error
- func String(ctx context.Context, dst *string, msg, def string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNonInteractive ¶
func Org ¶
func Org(ctx context.Context, typ *api.OrganizationType) (*api.Organization, error)
Org returns the Organization the user has passed in via flag or prompts the user for one.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.