gopass: github.com/justwatchcom/gopass/pkg/termwiz Index | Files

package termwiz

import "github.com/justwatchcom/gopass/pkg/termwiz"

Index

Package Files

selection.go

func GetSelection Uses

func GetSelection(ctx context.Context, prompt, usage string, choices []string) (string, int)

GetSelection show a navigateable multiple-choice list to the user and returns the selected entry along with the action

Package termwiz imports 5 packages (graph). Updated 2018-06-20. Refresh now. Tools for package owners.