Registry / cli / vito-go-interact

vito-go-interact

JSON →
library1.0.2gogounverified

A library for interactive command-line prompts in Go.

go get github.com/vito/go-interact
INSTALL
IMPORT
SIG · VITO-GO-INTERACT
V
vito-go-interact
cligov1.0.2
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.

interact
github.com/vito/go-interact

Prompt user for input

package main import ( "fmt" "github.com/vito/go-interact/interact" ) func main() { answer := "" err := interact.New("What is your name?").Resolve(&answer) if err != nil { panic(err) } fmt.Println("Hello, " + answer) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
40 hits · last 30 days
node
36
OpenAI (training)
1
Resources
vito-go-interact — go get vito-go-interact · libregistry