interactive

package
v0.32.0 Latest Latest
Warning

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

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

Documentation

Overview

Package interactive contains functions for interacting with the user via STDIN.

Package interactive contains functions for interacting with the user via STDIN.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PromptSigPassword

func PromptSigPassword() ([]byte, error)

PromptSigPassword prompts the user for the password to their private key

func PromptVariable

func PromptVariable(variable types.ZarfPackageVariable) (value string, err error)

PromptVariable prompts the user for a value for a variable

func SelectChoiceGroup added in v0.32.0

func SelectChoiceGroup(componentGroup []types.ZarfComponent) types.ZarfComponent

SelectChoiceGroup prompts to select component groups

func SelectOptionalComponent added in v0.32.0

func SelectOptionalComponent(component types.ZarfComponent) (confirmComponent bool)

SelectOptionalComponent prompts to confirm optional components

Types

This section is empty.

Jump to

Keyboard shortcuts

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