Registry / cli / segmentio-go-prompt

segmentio-go-prompt

JSON →
library1.2.0gogounverified

A Go library for building interactive command-line prompts with autocompletion.

go get github.com/segmentio/go-prompt
INSTALL
IMPORT
SIG · SEGMENTIO-GO-PROMP
S
segmentio-go-prompt
cligov1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

prompt
github.com/segmentio/go-prompt

Prompts the user for a string input and prints a greeting.

package main import ( "fmt" "github.com/segmentio/go-prompt" ) func main() { name := prompt.String("Enter your name") fmt.Println("Hello,", name) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
18 hits · last 30 days
node
18
Resources
segmentio-go-prompt — go get segmentio-go-prompt · libregistry