ui

package
v0.0.0-...-c95f2f5 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SelectEmail

func SelectEmail(allEmails []string) []string

SelectEmail shows a CLI select interface. The user has a chance to select the given emails from a predefined list (allEmails). At least one option must be selected The returning value is the selected emails.

Types

type ProgressBar

type ProgressBar interface {
	Inc()
	Finish()
	SetCurrent(value int)
}

func NewProgressBar

func NewProgressBar(count int) ProgressBar

A simple progress bar CLI implementation

func NilProgressBar

func NilProgressBar() ProgressBar

Jump to

Keyboard shortcuts

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