prompt

package
v0.0.254 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package prompt implements input-related functionality.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(ctx context.Context, message string) (confirm bool, err error)

func IsNonInteractive

func IsNonInteractive(err error) bool

func Org

Org returns the Organization the user has passed in via flag or prompts the user for one.

func Select

func Select(ctx context.Context, index *int, msg string, options ...string) error

func String

func String(ctx context.Context, dst *string, msg, def string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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