gum

package module
v0.0.0-...-6067087 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 4 Imported by: 1

README

gum

  1. gum.Choose(...) 列表选项

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Choose

func Choose(header string, options []string, limit int) ([]string, error)

func Confirm

func Confirm(prompt string) (bool, error)

func Input

func Input(prompt, placeholder string) (string, error)

func KongParse

func KongParse(cli interface{}, options ...kong.Option) *kong.Context

KongParse constructs a new parser and parses the default command-line.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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