ask

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmOrExit

func ConfirmOrExit(prompt survey.Prompt) error

Confirm something with a user and exit with a status of 0 if they say no

Types

type QuestionsData

type QuestionsData struct {
	PAT    string
	Search bool
}

Data from the questions ask to the user

func Questions

func Questions() (QuestionsData, error)

Ask the user a number of questions before running

Jump to

Keyboard shortcuts

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