terminal

package
v0.0.0-...-81e5c39 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Copyright (c) 2023, SailPoint Technologies, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InputPrompt

func InputPrompt(label string) string

InputPrompt receives a string value using the label

func PromptPassword

func PromptPassword(promptMsg string) (string, error)

PromptPassword prompts user to enter password and then returns it

Types

type Term

type Term struct{}

func (*Term) PromptPassword

func (c *Term) PromptPassword(promptMsg string) (string, error)

PromptPassword prompts user to enter password and then returns it

type Terminal

type Terminal interface {
	PromptPassword(promptMsg string) (string, error)
}

Jump to

Keyboard shortcuts

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