prompt

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PromptEmail

func PromptEmail() (string, error)

func PromptPassword

func PromptPassword() (string, error)

func PromptProject added in v0.4.0

func PromptProject() (string, error)

PromptProject prompts the user for a project path

func PromptProjectWithOptions added in v0.4.0

func PromptProjectWithOptions(projects []ProjectOption) (string, error)

PromptProjectWithOptions prompts the user to select from available projects or enter a custom one

func PromptYesNo added in v0.7.1

func PromptYesNo(promptText string) (bool, error)

PromptYesNo prompts the user for a yes/no answer

Types

type ProjectOption added in v0.4.0

type ProjectOption struct {
	Name string
	Slug string
}

ProjectOption represents a project option for selection

Jump to

Keyboard shortcuts

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