pro

package
v1.505.2 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfirmationRunner

type ConfirmationRunner interface {
	Run() (string, error)
}

TODO: move promptui helpers to shared library

func Confirmation

func Confirmation(question string) ConfirmationRunner

type Pro

type Pro struct {
	ioutils.Streams
}

func New

func New(streams ioutils.Streams) *Pro

func (*Pro) Run

func (runner *Pro) Run(ctx context.Context, _ *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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