Top 0.1% dependent packages on proxy.golang.org
Top 0.1% dependent repos on proxy.golang.org
Top 1.6% forks on proxy.golang.org
Top 0.1% docker downloads on proxy.golang.org
proxy.golang.org : github.com/manifoldco/promptui
Package promptui is a library providing a simple interface to create command-line prompts for go. It can be easily integrated into spf13/cobra, urfave/cli or any cli go application. promptui has two main input modes: Prompt provides a single line for user input. It supports optional live validation, confirmation and masking the input. Select provides a list of options to choose from. It supports pagination, search, detailed view and custom templates. This is an example for the Prompt mode of promptui. In this example, a prompt is created with a validator function that validates the given value to make sure its a number. If successful, it will output the chosen number in a formatted message. This is an example for the Select mode of promptui. In this example, a select is created with the days of the week as its items. When an item is selected, the selected day will be displayed in a formatted message.
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/manifoldco/promptui
Keywords:
cli
, command-line
, golang
, input
, interface
License: BSD-3-Clause
Latest release: about 4 years ago
First release: about 8 years ago
Namespace: github.com/manifoldco
Dependent packages: 4,065
Dependent repositories: 5,519
Stars: 6,283 on GitHub
Forks: 339 on GitHub
Docker dependents: 1,182
Docker downloads: 904,951,136
Total Commits: 111
Committers: 36
Average commits per author: 3.083
Development Distribution Score (DDS): 0.703
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Last synced: about 14 hours ago