prompt

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 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 PromptWorkspace added in v0.3.0

func PromptWorkspace() (string, error)

PromptWorkspace prompts the user for a workspace path

func PromptWorkspaceWithOptions added in v0.3.0

func PromptWorkspaceWithOptions(workspaces []WorkspaceOption) (string, error)

PromptWorkspaceWithOptions prompts the user to select from available workspaces or enter a custom one

Types

type WorkspaceOption added in v0.3.0

type WorkspaceOption struct {
	Name string
	Slug string
}

WorkspaceOption represents a workspace option for selection

Jump to

Keyboard shortcuts

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