https://github.com/manifoldco/promptui

Interactive prompt for command-line applications
https://github.com/manifoldco/promptui

Keywords

cli command-line golang input interface

Last synced: 11 months ago
JSON representation

Acceptance Criteria

Repository metadata

Interactive prompt for command-line applications


Owner metadata


Issue and Pull Request metadata

Last synced: almost 2 years ago

Total issues: 67
Total pull requests: 33
Average time to close issues: 6 months
Average time to close pull requests: 6 months
Total issue authors: 66
Total pull request authors: 32
Average comments per issue: 1.93
Average comments per pull request: 2.33
Merged pull request: 6
Bot issues: 0
Bot pull requests: 0

Past year issues: 12
Past year pull requests: 5
Past year average time to close issues: 11 minutes
Past year average time to close pull requests: 38 minutes
Past year issue authors: 12
Past year pull request authors: 5
Past year average comments per issue: 0.75
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/manifoldco/promptui

Top Issue Authors

  • zlesnr (2)
  • natxo (1)
  • muuvmuuv (1)
  • mozillazg (1)
  • mochi-co (1)
  • MindHunter86 (1)
  • mikyll (1)
  • migueleliasweb (1)
  • micnncim (1)
  • mbalsam82 (1)
  • mayamshah (1)
  • max75025 (1)
  • malletgaetan (1)
  • LuciferInLove (1)
  • ksnabb (1)

Top Pull Request Authors

  • moorara (2)
  • Ismet098 (1)
  • whiteCcinn (1)
  • wotzhs (1)
  • dobegor (1)
  • giulianopz (1)
  • karanveersp (1)
  • charliecruzan-stripe (1)
  • hierynomus (1)
  • micnncim (1)
  • jamesdobson (1)
  • bdwyertech (1)
  • GrooveStomp (1)
  • eandre (1)
  • giuliobosco (1)

Top Issue Labels

  • enhancement (1)
  • bug (1)

Top Pull Request Labels


Package metadata

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.

  • Homepage: https://github.com/manifoldco/promptui
  • Documentation: https://pkg.go.dev/github.com/manifoldco/promptui#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.9.0 (published over 3 years ago)
  • Last Synced: 2024-06-18T10:58:35.850Z (11 months ago)
  • Versions: 12
  • Dependent Packages: 4,065
  • Dependent Repositories: 5,519
  • Docker Downloads: 904,950,509
  • Rankings:
    • Dependent packages count: 0.058%
    • Dependent repos count: 0.111%
    • Docker downloads count: 0.134%
    • Average: 0.565%
    • Stargazers count: 0.897%
    • Forks count: 1.625%
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.

  • Homepage: https://github.com/manifOldco/promptui
  • Documentation: https://pkg.go.dev/github.com/manifOldco/promptui#section-documentation
  • Licenses: BSD-3-Clause
  • Latest release: v0.9.0 (published over 3 years ago)
  • Last Synced: 2024-06-18T10:58:38.418Z (11 months ago)
  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Stargazers count: 0.574%
    • Forks count: 1.045%
    • Average: 4.491%
    • Dependent packages count: 6.999%
    • Dependent repos count: 9.346%

Dependencies

go.mod go
  • github.com/chzyer/logex v1.1.10
  • github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
  • github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1
  • golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b
go.sum go
  • github.com/chzyer/logex v1.1.10
  • github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e
  • github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1
  • golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b

Score: 29.331877200275095